Opened 13 years ago
Closed 12 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)
Change History (7)
comment:1 Changed 13 years ago by
Component: | MythTV - User Interface Library → MythTV - General |
---|---|
Owner: | stuartm deleted |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Implement a Close() in setup wizard, and show previous windows there.
Refs #9938.
Branch: master Changeset: c4b12f62af5614b00a8b5035ac8592203711c001
comment:3 Changed 12 years ago by
Milestone: | 0.25 → unknown |
---|---|
Status: | assigned → new |
comment:4 Changed 12 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
comment:5 Changed 12 years ago by
Resolution: | Fixed |
---|---|
Status: | closed → new |
Definitely not fixed.
This is fun lets all do it again. Beirdo your turn.
Changed 12 years ago by
Attachment: | setupwizard.diff added |
---|
Use the screen stack rather than manually showing/hiding screens
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Setup Wizard: Fix the blank screens when moving back in the wizard.
Fixes #9938.
Branch: master Changeset: ae288e2a1c411d1d671298f627fa763016db8223
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.