[mythtv-users] mythfrontend --> Setup --> Appearance --> GUI height (pixels) limited to 1600?

Michael T. Dean mtdean at thirdcontact.com
Wed Apr 20 11:51:07 UTC 2016


On 04/20/2016 07:24 AM, Another Sillyname wrote:
> I just picked up a cheap Dell 4K 32" Monitor to use as a Desktop monitor.
>
> On my desktop configs for myth I always setup the Appearance so I can
> see the Top and Bottom panels where I have a number of monitors
> running so I can keep an 'eye' on what the machine is doing in the
> background while I watch myth in the foreground.
>
> Historically therefore I've usually set the GUI Height for 52 pixels
> less then the maximum screen height resolution and set the GUI Y
> offest for 26 pixels.
>
> However on 4K screens the height is 2160 pixels, however GUI height
> (pixels) doesn't want to accept any value higher then 1600.
>
> Is this a 'feature'?

That's just the range in the spinbox that's used in the settings 
editor--from 0-1600 for height and 0-1920 for width.  You can use other 
values, but the GUI editor won't be able to set them.  You could set it 
through MythWeb settings editor or through the services API

Perhaps if people really are using 4k monitors, now, the settings (GUI 
height/width and GUI X/Y offset) should be changed to use line edits 
(text boxes), instead.  I'm sure a patch would be considered (and likely 
accepted--especially if it also does proper checks to ensure the value 
specified represents a valid (zero or positive) int, or at minimum, 
defaults to zero when an invalid value is specified).  Alternatively, a 
patch that increases the ranges may be acceptable--though it should also 
increase the step size, too (as scrolling through 3840 (or higher) 
values with a large step (PgUp/PgDown--versus step of 1 with LEFT/RIGHT) 
of only 8 would be annoyingly slow--even going through 1920 @ 8 is 
annoyingly slow).

https://github.com/MythTV/mythtv/blob/master/mythtv/programs/mythfrontend/globalsettings.cpp#L2075

Mike


More information about the mythtv-users mailing list