Open a folder with LibreOffice documents in it with Dolphin. Open one document: LibreOffice Writer window correctly spawns on top of Dolphin window. Open another document: The 2nd LO Writer window opens beneath Dolphin's window. This is undesired behavior and annoying, as you have to click the new window first in order to completely see and to work with it. SOFTWARE VERSIONS KDE Plasma Version: 5.14.0 KDE Frameworks Version: 5.50 Qt Version: 5.11.2 ADDITIONAL INFORMATION LO 6.1.2.1, VCL: gtk3_kde5
I assume the first lo writer window is below dolphin at the time you open the second?
Yes, that's correct.
please provide the output of xprop and xwininfo of both libreooffice windows.
For the document that gets opened first and with window on top of Dolphin: https://pastebin.com/eKJwuG9G For the document that gets opened second beneath Dolphin: https://pastebin.com/cge1jGe4
I should add that the 2nd window got activated during copy & paste procedure. This is not the case when opening it, Dolphin remains as active window.
First one: xprop _NET_WM_ICON_GEOMETRY(CARDINAL) = 310, 1394, 52, 44 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 29, 4 _NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 29, 4 _NET_WM_DESKTOP(CARDINAL) = 0 _KDE_NET_WM_ACTIVITIES(STRING) = "b14aaa63-a8ab-4587-8cd1-69bed628a023" WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_STATE(ATOM) = WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x4e000e1 bitmap id # of mask for icon: 0x4e000e7 window id # of group leader: 0x4e00001 _GTK_THEME_VARIANT(UTF8_STRING) = "dark" _GTK_UNIQUE_BUS_NAME(UTF8_STRING) = ":1.58" _GTK_APPLICATION_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice" _GTK_WINDOW_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/window/81788964" _GTK_MENUBAR_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/window/81788964/menus/menubar" _GTK_APP_MENU_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/menus/appmenu" _GTK_APPLICATION_ID(UTF8_STRING) = "org.libreoffice" _NET_WM_ICON(CARDINAL) = Icon (48 x 48): _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 140045 XdndAware(ATOM) = BITMAP _NET_WM_OPAQUE_REGION(CARDINAL) = 3, 0, 1677, 3, 0, 3, 1683, 1140 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 81788966, 81788967 _NET_WM_USER_TIME(CARDINAL) = 138733 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x4e00025 WM_CLIENT_LEADER(WINDOW): window id # 0x4e00001 _NET_WM_PID(CARDINAL) = 1709 WM_LOCALE_NAME(STRING) = "de_DE.UTF-8" WM_CLIENT_MACHINE(STRING) = "USER-linux" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 598 by 27 program specified base size: 0 by 0 window gravity: Static WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "libreoffice", "libreoffice-writer" WM_ICON_NAME(STRING) = "document1 - LibreOffice Writer" _NET_WM_ICON_NAME(UTF8_STRING) = "document1 - LibreOffice Writer" WM_NAME(STRING) = "document1 - LibreOffice Writer" _NET_WM_NAME(UTF8_STRING) = "document1 - LibreOffice Writer" xwininfo: Window id: 0x4e00024 "document1 - LibreOffice Writer" Absolute upper-left X: 164 Absolute upper-left Y: 95 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1683 Height: 1143 Depth: 24 Visual: 0x2b Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x4e00002 (not 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: +164+95 -713+95 -713-202 +164-202 -geometry 1683x1143+164+95
second one: xprop _NET_WM_ICON_GEOMETRY(CARDINAL) = 258, 1394, 52, 44 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 4, 4, 29, 4 _NET_FRAME_EXTENTS(CARDINAL) = 4, 4, 29, 4 _NET_WM_DESKTOP(CARDINAL) = 0 _KDE_NET_WM_ACTIVITIES(STRING) = "b14aaa63-a8ab-4587-8cd1-69bed628a023" WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_STATE(ATOM) = WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x4e01302 bitmap id # of mask for icon: 0x4e01308 window id # of group leader: 0x4e00001 _GTK_THEME_VARIANT(UTF8_STRING) = "dark" _GTK_UNIQUE_BUS_NAME(UTF8_STRING) = ":1.58" _GTK_APPLICATION_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice" _GTK_WINDOW_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/window/81793662" _GTK_MENUBAR_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/window/81793662/menus/menubar" _GTK_APP_MENU_OBJECT_PATH(UTF8_STRING) = "/org/libreoffice/menus/appmenu" _GTK_APPLICATION_ID(UTF8_STRING) = "org.libreoffice" _NET_WM_ICON(CARDINAL) = Icon (48 x 48): _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 143781 XdndAware(ATOM) = BITMAP _NET_WM_OPAQUE_REGION(CARDINAL) = 3, 0, 1677, 3, 0, 3, 1683, 1140 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 81793664, 81793665 _NET_WM_USER_TIME(CARDINAL) = 210552 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x4e0127f WM_CLIENT_LEADER(WINDOW): window id # 0x4e00001 _NET_WM_PID(CARDINAL) = 1709 WM_LOCALE_NAME(STRING) = "de_DE.UTF-8" WM_CLIENT_MACHINE(STRING) = "USER-linux" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 598 by 27 program specified base size: 0 by 0 window gravity: Static WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "libreoffice", "libreoffice-writer" WM_ICON_NAME(STRING) = "document2 - LibreOffice Writer" _NET_WM_ICON_NAME(UTF8_STRING) = "document2 - LibreOffice Writer" WM_NAME(STRING) = "document2 - LibreOffice Writer" _NET_WM_NAME(UTF8_STRING) = "document2 - LibreOffice Writer" xwininfo: Window id: 0x4e0127e "document2 - LibreOffice Writer" Absolute upper-left X: 193 Absolute upper-left Y: 124 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1683 Height: 1143 Depth: 24 Visual: 0x2b Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x4e00002 (not 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+124 -684+124 -684-173 +193-173 -geometry 1683x1143+193+124
(In reply to tempel.julian from comment #5) > Dolphin remains as active > window. That was what I would expect. Does the new lo writer window demand attention? That is blinking taskbar entry?
It's not blinking, but it's marked yellow.
Yes, that's demand attention
This seems to be more of a general issue, I also notice it with other programs (sometimes even with Dolphin). Doesn't happen inside a Wayland session.
Can't reproduce with Plasma 5.22.5, X11. Can you confirm that the issue still exists?
Can still reproduce with SAL_USE_VCLPLUGIN=gtk3. It doesn't occur with SAL_USE_VCLPLUGIN=kf5 (which has become the default setting with Plasma in the meantime).
Thank you for your quick response. Do you still want to keep this issue open, or can it be closed?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number.