-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to make partial window app? #161
Comments
I think it's possible to set the window size to be as small as current volume app on Tizen TV, composition and key handler will be done by e20. But, for these kind of apps, what's the benefit can you get by using flutter? I mean the UX seems simple, but the logic is complicated. |
Currently only "rectangular" non-transparent apps can be created with flutter-tizen, even with the recent patch made to the engine. By the way how can you manage the focus when multiple apps are displayed in one screen? When does an app get a focus or lose it? |
transparency is not a problem, it could be supported. |
@xuelian-bai I'm maintaining legacy code written in c w/ Efl which is really horrible. I'd like to re-implement them with flutter if possible. So I'm just trying to give it a shot. Could you please give me some example code? |
right now, you can first setup flutter-tizen environment https://github.com/flutter-tizen/flutter-tizen/blob/master/doc/get-started.md, when you run flutter-tizen create you will get a example code, you can create your widget based on it. right now, you can work on full screen first. |
https://github.com/flutter/samples these are official samples |
It seems not possible to display an app on top of another app. When I open a full screen app (A) and try to open a partial app (B) on TV emulator, the app A is closed and only the app B is displayed: If this is just what you want for now, you can try by applying this PR which hasn't been merged yet.
|
normally two apps will act just like you said, but as I know, tv-viewer is a special app on tv. |
@xuelian-bai And tvviewer is not a special app. It is as same as other apps. There is nothing special about it. How could I implement the replica of tvviewer with flutter? 1st obstacle is partial window app. |
for partial window app,
|
I made a patch (flutter-tizen/engine#139) as suggested by @xuelian-bai. In order to create an app which has a transparent background,
Note that the partial window app still gets the main focus while it's running. I tried to set |
elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) can be set to skip focus for the window, but seems that we can't use it... |
@xuelian-bai It worked and I created a property @justwrite99 Is this actually what you need? |
@swift-kim Thank you for your efforts. I guess this is it!! 👍 |
It'd be better to look at the image below to understand what partial window apps are.
Volume and channel indicators can be called "partial window apps" in tizen tv.
(or can be called full screen apps with full transparency. I'm fine with either ways.)
It'd be great if I can implement apps like above with flutter-tizen.
The text was updated successfully, but these errors were encountered: