Opened 8 years ago

Closed 7 years ago

#9938 closed Bug Report - General (fixed)

MythUI has problems with windows that are hidden

Reported by: paulh Owned by:
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The best place to see this is the new Setup Wizard using any theme that is using the default theme version of the wizard (currently all the official themes I believe). Click next a couple of times an then previous to return to the previous page in the wizard. The result is a blank screen. You can still blindly operate the widgets on the screen you just can't see any of them. It's as though the background has been drawn over the top of them.

Something else to note is you only see this if the window is a full screen window, reduce the size of the window by a pixel then the background doesn't get drawn and everything then works as expected.

Attachments (1)

setupwizard.diff (2.8 KB) - added by paulh 7 years ago.
Use the screen stack rather than manually showing/hiding screens

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by stuartm

Component: MythTV - User Interface LibraryMythTV - General
Owner: stuartm deleted
Status: newassigned

Show/Hide? weren't really intended for use with windows, but the problem here seems to be that Show() is called too late in the destructors so it's not a mythui bug. The code even acknowledges that the pointers to m_generalScreen and m_audioScreen might not be valid at that stage otherwise there would be no need for the null pointer checks.

If it was me I'd get rid of those show/hide calls completely but Robert tells me that would spoil his theme. Anyway, I didn't write this, it's not a mythui bug and so I'm unassigning it from myself.

comment:2 Changed 8 years ago by Github

Implement a Close() in setup wizard, and show previous windows there.

Refs #9938.

Branch: master Changeset: c4b12f62af5614b00a8b5035ac8592203711c001

comment:3 Changed 7 years ago by beirdo

Milestone: 0.25unknown
Status: assignednew

comment:4 Changed 7 years ago by stuartm

Milestone: unknown0.25
Resolution: Fixed
Status: newclosed

comment:5 Changed 7 years ago by paulh

Resolution: Fixed
Status: closednew

Definitely not fixed.

This is fun lets all do it again. Beirdo your turn.

Changed 7 years ago by paulh

Attachment: setupwizard.diff added

Use the screen stack rather than manually showing/hiding screens

comment:6 Changed 7 years ago by Github

Resolution: fixed
Status: newclosed

Setup Wizard: Fix the blank screens when moving back in the wizard.

Fixes #9938.

Branch: master Changeset: ae288e2a1c411d1d671298f627fa763016db8223

Note: See TracTickets for help on using tickets.