Opened 9 years ago

Closed 5 years ago

Last modified 5 years ago

#8021 closed defect (fixed)

Window with title bar always shown for frontend when running Compiz

Reported by: EnderTheThird <pmagnone@…> Owned by: Isaac Richards
Priority: minor Milestone: 0.27.1
Component: MythTV - General Version: head
Severity: low Keywords: window, frontend, display, twinview, compiz, composite
Cc: Ticket locked: no

Description

If this is strictly because of the way Compiz handles all windows and can't be "fixed" in Myth, then I apologize for the needless bug. But I don't recall this happening in 0.22-fixes. Maybe a by-product of more recent MythUI changes?

On my main desktop, I run Ubuntu 9.10 64-bit using an nVidia GTS 250 w/ the nVidia driver 190.53, and trunk [23453]. I'm using composite/desktop effects and twinview with 2 monitors hooked up via DVI, with the frontend being displayed on screen 1. No matter what settings I select in the frontend (aspect ratio, setting GUI dimensions manually, etc.), it always shows the window/title bar at the top and I have to alt+click to move the frontend window to see the entire GUI. If I run "metacity --replace" to disable Compiz, the frontend displays just fine without the window/title bar at top.

This happens with the following themes: Arclight, Graphite, Metallurgy, Mythbuntu, MythCenter? (Widescreen), and Terra.

I realize that with vsync issues, most people probably have compositing effects turned off anyway (I have it disabled on my main frontend), so this is pretty low priority. Let me know if you need any additional information.

I've attached the output when running mythfrontend from the terminal.

Attachments (1)

frontend-output.txt (7.5 KB) - added by EnderTheThird <pmagnone@…> 9 years ago.
Output when running "mythfrontend" from terminal

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by EnderTheThird <pmagnone@…>

Attachment: frontend-output.txt added

Output when running "mythfrontend" from terminal

comment:1 Changed 9 years ago by JYA

Resolution: invalid
Status: newclosed

This issue started to occur from Ubuntu 9.04 ; it isn't occurring in Ubuntu 8.10 and earlier.

Enable legacy full screen mode in compiz settings.

Check https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/348934

comment:2 Changed 9 years ago by EnderTheThird <pmagnone@…>

Worked like a charm, thanks. That bug didn't come up in my search. Maybe I didn't include "fullscreen" in my search terms or something.

For anyone else who runs into this, the setting is in the CompizConfig? Settings Manager --> Utilities section --> Workarounds --> Legacy Fullscreen Support.

comment:3 Changed 9 years ago by sphery

(In [23765]) Fixes fullscreen window mode.

The check for whether to make the window fullscreen added in [23578] was not working properly since the "real" (full-screen-sized) values for screen width and height were set by the time GetScreenSettings?() was called, so they were no longer the full screen flag value, 0. This changes the check to rely, instead, on the settings values, and also adds some logging output to make debugging future issues easier.

Refs #7996. Refs #8021 (though the change may not fix Compiz, mythfrontend should now properly request fullscreen mode when appropriate). Thanks to stuarta and EnderTheThird? for reporting the issue.

comment:4 Changed 5 years ago by JYA

Resolution: invalid
Status: closednew

comment:5 Changed 5 years ago by Jean-Yves Avenard <jyavenard@…>

Resolution: fixed
Status: newclosed

In 1c440ba970bfa0718bd5bc240f412e0bbc24ccf5/mythtv:

Fix fullscreen windowing with Compiz/Unity?

Also fixes live transitions from full screen to windowed screen.

Tested on the following systems:

  • Linux Ubuntu 12.04 and 14.04, with box Xfce and Unity, with multi and single screens setup (including TwinView?). AMD, nVidia and intel drivers.
  • MacOS 10.9: multi and single screens setup

Fixes #9589
Fixes #8021
Fixes #7958

comment:6 Changed 5 years ago by JYA

Milestone: unknown0.27.1

comment:7 Changed 5 years ago by Jean-Yves Avenard <jyavenard@…>

In 25876a76e4e064ba828d0b92c1bbaea218882c81/mythtv:

Fix fullscreen windowing with Compiz/Unity?

Also fixes live transitions from full screen to windowed screen.

Tested on the following systems:

  • Linux Ubuntu 12.04 and 14.04, with box Xfce and Unity, with multi and single screens setup (including TwinView?). AMD, nVidia and intel drivers.
  • MacOS 10.9: multi and single screens setup

Fixes #9589
Fixes #8021
Fixes #7958

(cherry picked from commit 1c440ba970bfa0718bd5bc240f412e0bbc24ccf5)

Note: See TracTickets for help on using tickets.