Opened 10 years ago

Closed 10 years ago

#6508 closed defect (fixed)

mythfrontend not placed properly when video playback starts

Reported by: danielk Owned by: paulh
Priority: minor Milestone: 0.23
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The X & Y location for video output window is not respected "Use GUI size for TV playback" is enabled. Also when returning from playback the menu screen remains at the 0,0 location that the video playback sets, so the left and top of the screen are cut off on screen with over-scan.

I believe this is related to #6487. The window size and location setting code needs to be reworked after the MythUI port of the video output window. Changes need to be made in both tv_play.cpp and mythmainwindow.cpp. The setFixedSize() calls in mythmainwindow need to be replaced with something that is aware of the current mode of the window (like when it's size is allowed to float), and the setGeometry() calls in tv_play.cpp probably need to be only called when the video window is in full screen mode.

Change History (8)

comment:1 Changed 10 years ago by paulh

Status: newaccepted

comment:2 Changed 10 years ago by paulh

Status: acceptedstarted

comment:3 Changed 10 years ago by paulh

Resolution: fixed
Status: startedclosed

(In [20471]) Fix a few window positioning problems reported with the playback screen after the changes to make it MythUI friendly. Only lightly tested there are way too many combinations of settings to test them all. Fixes #6487, #6508. Refs #6504.

comment:4 Changed 10 years ago by danielk

Resolution: fixed
Status: closednew

Thus issue remains when the window border is disabled.

Note: I have found a partial workaround in this case, the "-geometry WxH+X+Y" command line option is respected after [20471].

comment:5 in reply to:  4 Changed 10 years ago by paulh

Replying to danielk:

Thus issue remains when the window border is disabled.

Note: I have found a partial workaround in this case, the "-geometry WxH+X+Y" command line option is respected after [20471].

Has this ever worked for you? The GUI offset settings do say 'May only work if run in a window' so I assumed it was a known problem.

Modifying MythMainWindow::Init() so it always sets the QT::FramelessWindow? flag if not using a window border seems to fix it but not sure why it isn't done this way already.

comment:6 Changed 10 years ago by paulh

Resolution: fixed
Status: newclosed

(In [20534]) Fix the window not being positioned properly when not using a window border. Also remove an unnecessary window resize if use GUI size for TV playback is set. Fixes #6508.

comment:7 Changed 10 years ago by stuartm

Milestone: 0.220.23
Resolution: fixed
Status: closednew

comment:8 Changed 10 years ago by paulh

Resolution: fixed
Status: newclosed

(In [23578]) Fix the GUI offset settings not working properly when not running in a window. Patch from Britney Fransen. Fixes #7996, #6508.

Note: See TracTickets for help on using tickets.