! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
_NET_WM_WINDOW_TYPE_TOOLBAR should to hide window decoration.
Status:
RESOLVED: INVALID

Comments

Description Matias De lellis 2016-02-03 01:28:14 CET
Created attachment 6601 
Description of bug and comparation.

Hi,
Everything from a small bug in LibreOffice.. 
The new color selection bars LibreOffice shows decoration in xfce .. which is a bit annoying.. See screenshot..

These dialogs have the following properties:
>[matias@localhost ~]$ xwininfo -all
>
>xwininfo: Please select the window about which you
>          would like information by clicking the
>          mouse in that window.
>
>xwininfo: Window id: 0x4811c67 "Resalte"
>
>  Root window id: 0x98 (the root window) (has no name)
>  Parent window id: 0x100a8f3 (has no name)
>     1 child:
>     0x4811c68 (has no name): ()  1x1+-1+-1  +192+139
>
>  Absolute upper-left X:  193
>  Absolute upper-left Y:  140
>  Relative upper-left X:  3
>  Relative upper-left Y:  22
>  Width: 238
>  Height: 348
>  Depth: 24
>  Visual: 0x20
>  Visual Class: TrueColor
>  Border width: 0
>  Class: InputOutput
>  Colormap: 0x22 (installed)
>  Bit Gravity State: NorthWestGravity
>  Window Gravity State: NorthWestGravity
>  Backing Store State: NotUseful
>  Save Under State: no
>  Map State: IsViewable
>  Override Redirect State: no
>  Corners:  +193+140  -935+140  -935-280  +193-280
>  -geometry 238x348+193+140
>
>  Bit gravity: NorthWestGravity
>  Window gravity: NorthWestGravity
>  Backing-store hint: NotUseful
>  Backing-planes to be preserved: 0xffffffff
>  Backing pixel: 0
>  Save-unders: No
>
>  Someone wants these events:
>      KeyPress
>      KeyRelease
>      ButtonPress
>      ButtonRelease
>      EnterWindow
>      LeaveWindow
>      PointerMotion
>      Exposure
>      VisibilityChange
>      StructureNotify
>      SubstructureNotify
>      FocusChange
>      PropertyChange
>  Do not propagate these events:
>  Override redirection?: No
>
>  Window manager hints:
>      Client accepts input or input focus: No
>      Initial state is Normal State
>      Displayed on desktop 0
>      Window type:
>          Toolbar
>      Window state:
>          Skip Pager
>          Skip Taskbar
>      Process id: 2751 on host localhost.matiasdelellis
>      Frame extents: 3, 3, 22, 3
>
>  Normal window size hints:
>      Program supplied location: 0, 0
>      Program supplied minimum size: 238 by 348
>      Program supplied maximum size: 238 by 348
>      Program supplied window gravity: StaticGravity
>  No zoom window size hints defined
>
>  No window shape defined
>  No border shape defined


These window and others has windows type as TOOLBAR.

I tested changing xfwm4, but due the lack of documentation about it, I prefer not do a patch.. :S

The test with good results is unset XFWM_FLAG_HAS_BORDER on:

https://github.com/xfce-mirror/xfwm4/blob/a64b74377d7e472cd40b227349308cb3853e1d6b/src/netwm.c#L1236

Maybe you have to change other flags, but thus works..

Regards,
Thanks for all,
Matias
Comment 1 Matias De lellis 2016-07-06 00:40:47 CEST
Created attachment 6727 
Propoced patch
Comment 2 Matias De lellis 2017-05-06 16:51:27 CEST
Hi,
Although it can be a regression (since I can not separate the dialogs as before), the bug reported here seems fixed in libreoffice 5.3.. 

Regards,
Matias.
Comment 3 Matias De lellis 2017-05-06 16:53:55 CEST
You can ignore it ..

Bug #12433

Reported by:
Matias De lellis
Reported on: 2016-02-03
Last modified on: 2017-05-06

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Description of bug and comparation. (81.75 KB, image/jpeg)
2016-02-03 01:28 CET , Matias De lellis
no flags
Propoced patch (935 bytes, patch)
2016-07-06 00:40 CEST , Matias De lellis
no flags

Additional information