Opened 20 years ago
Closed 20 years ago
Last modified 20 years ago
#578 closed patch (fixed)
Patch to hide main window on os x when we are not playing video in the main window.
Reported by: | Owned by: | Nigel | |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | os x hide main window playback |
Cc: | Ticket locked: | no |
Description
On os x it is possible to play video in a floating window, the dock or the desktop, and not play video in the main window. When there is no video in the main window, it is just black and in the way of everything else. There is no way to minimize this window. This patch "hides" the main window by making it 1x1 when playback is started. When playback is stopped, the main window is restored to its original size. I chose to make the window 1x1 instead of hiding it, because in order to receive keystrokes, the main window cannot be hidden. This is my first attempt at a patch to the actual code of myth, please let me know everything I did wrong so I can fix it in the future.
Attachments (1)
Change History (5)
by , 20 years ago
Attachment: | osxWindowHide.patch added |
---|
comment:1 by , 20 years ago
Status: | new → assigned |
---|
I still have to do some more testing, but this looks good.
comment:2 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
There was already a variable that stored the window dimensions, so I changed the scope of that and used it instead of adding another one (whose declaration wasn't in the Geoff's patch).
comment:3 by , 20 years ago
comment:4 by , 20 years ago
I said the declaration of the variable wasn't in Geoff's patch. That is wrong, it just was in a different place to all the other private variables!
patch to hide main window on playback