After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749451 - Windows have no border
Windows have no border
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 751626 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-05-15 19:46 UTC by mrblooter
Modified: 2015-06-29 03:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (48.96 KB, image/png)
2015-05-15 20:01 UTC, mrblooter
  Details
GtkWindow: Don't assume no shadow width even when not supported (1.22 KB, patch)
2015-05-18 03:24 UTC, Jonas Ådahl
committed Details | Review

Description mrblooter 2015-05-15 19:46:37 UTC
Application windows have no border. This makes it impossible to resize any window. It's also unpleasant to look at, when windows overlap each other.
This is happening to GTK3 software outside of GNOME; more specifically with the Openbox window manager.

Steps to Reproduce:
1) Open any GTK3 application
2) Hover with the cursor over the window's edge, trying to resize it
3) Nothing happens, the cursor doesn't change to acknowledge a possible action

Expected Results:
It should be possible to select the edge/border and drag to resize the window.

The GTK3 version is 3.16.2. It started happening after an upgrade; 3.16.1 works fine.
Comment 1 Matthias Clasen 2015-05-15 19:53:34 UTC
which theme are you using ?
Comment 2 mrblooter 2015-05-15 20:01:10 UTC
Created attachment 303449 [details]
screenshot
Comment 3 mrblooter 2015-05-15 20:01:45 UTC
The default Adwaita theme.
Comment 4 mrblooter 2015-05-15 20:14:19 UTC
I made a typo in the description: it affects version 3.16.3. Version 3.16.2 works fine.
Sorry about that.
Comment 5 Matthias Clasen 2015-05-16 02:03:04 UTC
Jonas, could you have a look ? This is fallout from your recent shadow width changes - before them, openbox got 'solid csd' decorations.
Comment 6 Jonas Ådahl 2015-05-18 03:24:36 UTC
Created attachment 303497 [details] [review]
GtkWindow: Don't assume no shadow width even when not supported

Even if a window doesn't support client side shadow
(gtk_window_supports_client_shadow returns FALSE), don't assume the
shadow width is zero, as CSD may have been enabled anyway (meaning
priv->client_decorated is TRUE). In that case we still need to report
the correct width.
Comment 7 Matthias Clasen 2015-05-18 11:52:38 UTC
Attachment 303497 [details] pushed as f6d0215 - GtkWindow: Don't assume no shadow width even when not supported
Comment 8 Jonas Ådahl 2015-06-29 03:14:40 UTC
*** Bug 751626 has been marked as a duplicate of this bug. ***