Comment 0 for bug 1568852

Revision history for this message
Martin Fiedler (keyj-ubuntu) wrote :

Some applications are missing the titlebar in gnome-session-flashback with Metacity. Standard GNOME applications are not affected, but some that use Xlib directly, like mupdf or feh, are.

Steps to reproduce:
- Use mupdf to display any .pdf file, or use feh to display any image file.

Expected result:
- A window with a title bar appears.

Actual result:
- A window without title bar, but thicker borders, appears.
- This does not always happen; sometimes, the title bars appear just fine.
- see attached screenshot

Things I tried:
- Enabling/disabling org.gnome.metacity.compositing-manager via dconf-editor doesn't make a difference.
- In an Xlib-based program I wrote myself, I could get rid of this by doing a dummy call to XSetWMNormalHints() with BaseSize set to the window size I was using anyway and MinSize set to 1x1.

metacity:
  Installed: 1:3.18.3-1ubuntu2
  Candidate: 1:3.18.3-1ubuntu2
  Version table:
 *** 1:3.18.3-1ubuntu2 500
        500 http://mirror.dreamchip.de/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04