Bug 458446 - Menus Start Showing behind Windows
Summary: Menus Start Showing behind Windows
Status: RESOLVED DUPLICATE of bug 455429
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 5
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-28 23:08 UTC by Pedro Rosado
Modified: 2023-06-07 00:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Menu Behind Windows (1.23 MB, image/png)
2022-08-28 23:08 UTC, Pedro Rosado
Details
attachment-3859212-0.html (2.00 KB, text/html)
2023-06-03 00:36 UTC, Pedro Rosado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Rosado 2022-08-28 23:08:32 UTC
Created attachment 151672 [details]
Menu Behind Windows

SUMMARY
After 5.25, the windows behave oddly. Menus are appearing behind windows and some windows keep themselves above, regardless of being selected or not. The kickoff menu will appear behind the window if a window is open. 

It happens in both Wayland and X11 sessions. 

I thought for a moment that Latte Dock was causing the problem. But after closing it, it kept happening.


***


STEPS TO REPRODUCE
1. Star session (Wayland or X11)
2. Open a program (for example, Firefox)

OBSERVED RESULT
After a while, the weird behavior will start. 

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-08-30 20:27:05 UTC
Cannot reproduce in Firefox with the window forced to be on top.

Is this just in Firefox, or in other apps too?, Can you try to narrow down the conditions a bit under which this happens?
Comment 2 Bug Janitor Service 2022-09-14 04:36:25 UTC
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!
Comment 3 Vlad Zahorodnii 2022-09-14 11:46:52 UTC
Can you also post the output of `qdbus org.kde.KWin /KWin supportInformation`? maybe you use an effect that messes with the stacking order
Comment 4 Bug Janitor Service 2022-09-29 04:48:35 UTC
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!
Comment 5 Bug Janitor Service 2022-10-14 04:54:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 6 Pedro Rosado 2023-06-01 03:34:37 UTC
My apologies, I didn't receive the email asking for additional information. What information is needed? 

Please advise.
Comment 7 Nate Graham 2023-06-02 17:52:38 UTC
See Comment 3
Comment 8 Pedro Rosado 2023-06-03 00:36:22 UTC
Created attachment 159422 [details]
attachment-3859212-0.html

Thank you, I will do so.
Regards, 

Sent from Yahoo Mail on Android 
 
  On Fri, Jun 2, 2023 at 13:52, Nate Graham<bugzilla_noreply@kde.org> wrote:   https://bugs.kde.org/show_bug.cgi?id=458446

Nate Graham <nate@kde.org> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
            Status|REOPENED                    |NEEDSINFO
        Resolution|---                        |WAITINGFORINFO

--- Comment #7 from Nate Graham <nate@kde.org> ---
See Comment 3
Comment 9 Pedro Rosado 2023-06-04 02:20:15 UTC
(In reply to Nate Graham from comment #7)
> See Comment 3

Please find below the result from running the command - 'qdbus-qt5 org.kde.KWin /KWin supportInformation"
Version
=======
KWin version: 5.27.5
Qt Version: 5.15.9
Qt compile version: 5.15.9
XCB compile version: 1.15

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes

X11
===
Vendor: SUSE LINUX
Vendor Release: 12301001
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Active: true
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy: 
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true
latencyPolicy: 
renderTimeEstimator: 
allowTearing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 225
reActivateThreshold: 400
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Active screen follows mouse:  yes
Number of Screens: 2

Screen 0:
---------
Name: eDP-1
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60006
Adaptive Sync: incapable
Screen 1:
---------
Name: VGA-1
Enabled: 1
Geometry: 1920,0,1440x900
Scale: 1
Refresh Rate: 59887
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL version string: 4.6 (Core Profile) Mesa 23.0.3
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Haswell
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 23.0.3
Linux kernel version: 6.3.4
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
colorpicker
outputlocator
screenshot
screenedge
zoom
blur
contrast
kwin4_effect_sessionquit
kwin4_effect_logout
kwin4_effect_login
slidingpopups
kwin4_effect_windowaperture
magiclamp
slide
slideback
kwin4_effect_fullscreen
kwin4_effect_scale
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_frozenapp
kwin4_effect_fadingpopups
kwin4_effect_dimscreen
kwin4_effect_dialogparent
desktopgrid
highlightwindow
overview
tileseditor
windowview
wobblywindows
blendchanges
startupfeedback
kscreen
screentransform

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
colorpicker:

outputlocator:

screenshot:

screenedge:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

blur:

contrast:

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 75
slideOutDuration: 125

kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

magiclamp:

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

slideback:

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_scale:
pluginId: kwin4_effect_scale
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_dimscreen:
pluginId: kwin4_effect_dimscreen
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

desktopgrid:
activeView: 
gridRows: 2
gridColumns: 2
animationDuration: 150
layout: 1
partialActivationFactor: 0
gestureInProgress: false
showAddRemove: true
desktopNameAlignment: 0
desktopLayoutMode: 1
customLayoutRows: 2

highlightwindow:

overview:
activeView: 
animationDuration: 150
layout: 1
ignoreMinimized: false
blurBackground: true
partialActivationFactor: 0
gestureInProgress: false
searchText: 

tileseditor:
activeView: 
animationDuration: 200

windowview:
activeView: 
animationDuration: 150
layout: 1
ignoreMinimized: false
mode: 0
partialActivationFactor: 0
gestureInProgress: false
searchText: 

wobblywindows:
stiffness: 0.1
drag: 0.85
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveWobble: true
resizeWobble: true

blendchanges:

startupfeedback:
type: 1

kscreen:

screentransform:


Loaded Plugins:
---------------
kwin5_plugin_buttonrebinds
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast

Available Plugins:
------------------
kwin5_plugin_buttonrebinds
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor
kwin5_plugin_screencast
Comment 10 Pedro Rosado 2023-06-06 04:47:24 UTC
Nate, 

Your suggestion to run that command got me thinking it might be a problem of conflicting desktop effects. I ticked off the "Slide Back" desktop effect. For two days in a row, the issue has not appeared. I think this might have solved the problem. 

Thank you!
Comment 11 Nate Graham 2023-06-06 15:42:58 UTC
Aha, thanks! That's useful information. It means this is the same issue as Bug 455429.

*** This bug has been marked as a duplicate of bug 455429 ***
Comment 12 Pedro Rosado 2023-06-07 00:38:33 UTC
(In reply to Pedro Rosado from comment #10)
> Nate, 
> 
> Your suggestion to run that command got me thinking it might be a problem of
> conflicting desktop effects. I ticked off the "Slide Back" desktop effect.
> For two days in a row, the issue has not appeared. I think this might have
> solved the problem. 
> 
> Thank you!
Comment 13 Pedro Rosado 2023-06-07 00:50:25 UTC
I think it would be a good idea to add the other desktop effects that are still running that might have conflicted with the "Slide Back" effect:
Zoom
Background Contrast
Blur
Desaturate Unresponsive Applications
Fading Pop-Ups
Full Screen
Login
Logout
Maximize
Morphing Pop-ups
Screen Edge
Sliding Pop-ups
Wobbly Windows
Magic Lamp
Dialog Parent
Dim Screen for Administration Mode
Window Aperture
Slide
Desktop Grid
Overview
Present Windows
Tiling Editor
Scale