Mailing List Archive

Windowing/appearance settings
A couple of questions on edge cases when using the "Use GUI size for
tv playback" setting in the Appearance settings.

- Display resolution switching

If users having enabled display resolution switching (not just rate)
and they have checked "Use GUI size for tv" - should we still be using
the GUI size for playback?

So for example, I have my UI set to 1920x1080 but want video to
display at 720x576 for that standard def material. It makes no sense
to use 1920x1080 for playback - and in the render branch at least, it
produces odd results. Admittedly this is probably an unlikely
scenario.

- Interaction with "Use window border" setting

If running in a window with border/decorations etc and "Use GUI size
for tv playback" is not set - should we switch to full
screen/borderless playback?

The code will currently expand the screen to "full size" * but still
have a border/menu bar etc. So would it make more sense to fully
expand the window (i.e. remove the border)? It seems a more sensible
approach.

* There are long standing quirks with linux and window managers which
mean if we are using a window border and fullscreen (or thereabouts)
then the UI is created slightly too big for the screen as the
decorations are added at some point after window creation i.e. the
window is created at a size that fills the desktop but at some point
later, a title bar etc is added which pushes the bottom of our window
off screen. We could check for the movement - but we would have to
recreate the UI. The issue is well highlighted in the Qt documentation

Thoughts welcome!
Thanks
Mark

p.s Is there a real need for the 'Use window border' setting? I don't
imagine many people use it - the only benefit it appears to add is
that if running in a window on a desktop then the window can be
moved...
p.p.s Presumably some of these appearance settings should be hidden for android?
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Windowing/appearance settings [ In reply to ]
On 21/10/2019 12:00, Mark Kendall wrote:

<snip>

> p.s Is there a real need for the 'Use window border' setting? I don't
> imagine many people use it - the only benefit it appears to add is
> that if running in a window on a desktop then the window can be
> moved...

I use 1024*576+64+64 windowed on all my systems, for just that reason.
And --geometry 1920x1080 -nw for display on the tv :-)

John P



_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Windowing/appearance settings [ In reply to ]
Mark,
pls see inline

> Wiadomo?? napisana przez Mark Kendall <mark.kendall@gmail.com> w dniu 21.10.2019, o godz. 13:00:
>
> A couple of questions on edge cases when using the "Use GUI size for
> tv playback" setting in the Appearance settings.
>
> - Display resolution switching
>
> If users having enabled display resolution switching (not just rate)
> and they have checked "Use GUI size for tv" - should we still be using
> the GUI size for playback?

IMHO having enabled "enabled display resolution switching” and "Use GUI size for tv” in the same time doesn’t make much sense.

For me "Use GUI size for tv” means „for playback use constant, declared by me resolution on my tv. so for any content with different resolution - rescale to this, wanted by me, resolution”

In such case help message for "Use GUI size for tv” setting might something like this:
„Enable this setting for case when You want to ask mythtv to rescale all playback content to fix, GUI resolution”

Generalising: maybe following logic is worth to consider:

setting1: "GUI resolution": drop-down list with <list of modes from modeset>"

setting2: "Use GUI resolution for playback”: on/off switch

setting3: "Playback resolution": (selectable only if setting2 is OFF): drop-down list with: <resolutions list build from modeset> + additional entry: „auto” + additional entry „user defined"
„auto": means displaying with resolution the same like content resolution
"user-defined”: means use todays set of pre-defined setting triples (H1,W1->mode1; H2,W2->mode2, etc)



>
> So for example, I have my UI set to 1920x1080 but want video to
> display at 720x576 for that standard def material. It makes no sense
> to use 1920x1080 for playback - and in the render branch at least, it
> produces odd results. Admittedly this is probably an unlikely
> scenario.
>
> - Interaction with "Use window border" setting
>
> If running in a window with border/decorations etc and "Use GUI size
> for tv playback" is not set - should we switch to full
> screen/borderless playback?

For me running myth in window always means: do GUI & playback in this exactly window.
So I think, if user sets "running GUI in a window with border/decorations” to ON, myth should remove "Use GUI size for tv playback” setting and refresh whole settings screen.
In fact it should remove setting1/setting2/setting3 I mentioned in above paragraph.
(If such dynamic behaviour is not possible - then "Use GUI size for tv playback” should become marked as „OFF” and also grayed-out without possibility to change)


putting all together: maybe something like this:

setting0: "Display myth in a window": on/off switch (OFF effectively means full-screen)

setting1: "GUI resolution": (selectable only if setting0 is OFF): drop-down list with <list of modes from modeset>"

setting2: "Use GUI resolution for playback” (selectable only if setting0 is OFF): on/off switch

setting3: "Playback resolution": (selectable only if setting2 is OFF): drop-down list with: <resolutions list build from modeset> + additional entry: „auto” + additional entry „user defined"
„auto": means displaying with resolution the same like content resolution
"user-defined”: means use todays set of pre-defined setting triples (H1,W1->mode1; H2,W2->mode2, etc)

General decision logic I propose is following:

1.do you want full-screen?
2.what GUI resolution - when you want full screen?
3.do you want playback with GUI res.?
4.what playback res. when you want playback res. different than GUI res.
-predefined constant
-follow content
-multiple predefined match in ordered way


>
> The code will currently expand the screen to "full size" * but still
> have a border/menu bar etc. So would it make more sense to fully
> expand the window (i.e. remove the border)? It seems a more sensible
> approach.
>
> * There are long standing quirks with linux and window managers which
> mean if we are using a window border and fullscreen (or thereabouts)
> then the UI is created slightly too big for the screen as the
> decorations are added at some point after window creation i.e. the
> window is created at a size that fills the desktop but at some point
> later, a title bar etc is added which pushes the bottom of our window
> off screen. We could check for the movement - but we would have to
> recreate the UI. The issue is well highlighted in the Qt documentation
>
> Thoughts welcome!
> Thanks
> Mark
>
> p.s Is there a real need for the 'Use window border' setting? I don't
> imagine many people use it - the only benefit it appears to add is
> that if running in a window on a desktop then the window can be
> moved...
> p.p.s Presumably some of these appearance settings should be hidden for android?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Windowing/appearance settings [ In reply to ]
On Mon, 21 Oct 2019 at 12:21, John Pilkington <johnpilk222@gmail.com> wrote:
>
> On 21/10/2019 12:00, Mark Kendall wrote:
>
> <snip>
>
> > p.s Is there a real need for the 'Use window border' setting? I don't
> > imagine many people use it - the only benefit it appears to add is
> > that if running in a window on a desktop then the window can be
> > moved...
>
> I use 1024*576+64+64 windowed on all my systems, for just that reason.
> And --geometry 1920x1080 -nw for display on the tv :-)

Thanks John - wasn't serious about removing it:) was more of a
throwaway comment - so many settings and combinations to deal with! I
was confident someone would pipe up...
Cheers
Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org