Bug 394803 - Dialogs in kwin_wayland dont show
Summary: Dialogs in kwin_wayland dont show
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.12.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-28 18:52 UTC by Christo
Modified: 2023-01-25 11:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kwin excerpt from journal (5.50 KB, text/plain)
2018-05-28 18:53 UTC, Christo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christo 2018-05-28 18:52:29 UTC
Hi

Dialogs under kwin_wayland SOMETIMES vanish into nothingness leaving applications stuck

regardless the app (firefox, libreoffice, kwrite) .. dialogs "appear invisible" .. they open active to the parentwindow but dont show up :-o ( leaving its parent-app stuck in a .. lets say "SaveAs"-dialog  ) 

( this produces no logs )

they only way to move on is to kill the app

The dialog doesnt show up as an windows , nowhere to find ... however in pagermoder (show all apps) the dialog leaves an empty spacer for the dialog (which is not activateable)  

i tried to close the assumed "SaveAs"-Dialog spacer ( red [x] in pagermode ) resulting in a crash of kwin_wayland and all withit (coredump and logexerpt attached)

thanks for support

-c-
Comment 1 Christo 2018-05-28 18:53:43 UTC
Created attachment 112930 [details]
kwin excerpt from journal
Comment 2 Christo 2018-05-28 19:03:04 UTC
coredump is 34MB LZ4@ https://tinyurl.com/y75tuanr
Comment 3 Martin Flöser 2018-05-28 19:26:20 UTC
Could you please attach the backtrace here. The hosting provider requires to accept gdpr.
Comment 4 Christo 2018-05-29 12:07:45 UTC
(In reply to Christoph from comment #2)
> coredump is 34MB LZ4@ https://tinyurl.com/y75tuanr

moved the coredump to new location

https://offline.mojo.cc/core.kwin_wayland.1000.23b19855a1ab44969cc4c24e37ff5418.2678.1527530942000000.lz4
Comment 5 Christo 2018-05-31 15:04:28 UTC
This BUG does also affect "new windows" in general ... if they dont show up i can mostly close them with Alt+F4 , restarting plasmashell .. and then mostly it returns to expected behaviour .. 

i tried to find out howto debug the kwin-wayland-session , installed some according debuginfo-packages, but that doesnt improve loggin .. how can i provide useful information to this ?
Comment 6 Martin Flöser 2018-05-31 18:16:33 UTC
You can try using the environment variable WAYLAND_DEBUG to get more output. But I fear the problem is somewhere else in the stack.

Could you please provide the output of
qdbus org.kde.KWin /KWin supportInformation
Comment 7 Christo 2018-06-01 11:29:15 UTC
> Could you please provide the output of
> qdbus org.kde.KWin /KWin supportInformation

https://pastebin.com/aQBFjMix

tnx
Comment 8 Martin Flöser 2018-06-01 15:23:02 UTC
Version
=======
KWin version: 5.12.5
Qt Version: 5.9.4
Qt compile version: 5.9.4
XCB compile version: 1.13

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11906000
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: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 12
font: Noto Sans,10,-1,5,50,0,0,0,0,0,SemiCondensed
smallSpacing: 3
largeSpacing: 12

Platform
==========
Name: DRM
Active: true
Atomic Mode Setting: true

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 6
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5009
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true

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

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: LP139UD1-SPA eDP-1-unknown
Geometry: 0,0,1920x1080
Scale: 2
Refresh Rate: 60.006


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL version string: 4.5 (Core Profile) Mesa 18.0.2
OpenGL platform interface: EGL
OpenGL shading language version string: 4.50
Driver: Intel
GPU class: Unknown
OpenGL version: 4.5
GLSL version: 4.50
Mesa version: 18.0.2
Linux kernel version: 4.12.14
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
kwin4_effect_windowaperture
kwin4_effect_translucency
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_logout
kwin4_effect_login
dimscreen
kwin4_effect_frozenapp
kwin4_effect_fade
kwin4_effect_dialogparent
slidingpopups
wobblywindows
screenshot
minimizeanimation
diminactive
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

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

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_windowaperture:

kwin4_effect_translucency:

kwin4_effect_morphingpopups:

kwin4_effect_maximize:

kwin4_effect_logout:

kwin4_effect_login:

dimscreen:

kwin4_effect_frozenapp:

kwin4_effect_fade:

kwin4_effect_dialogparent:

slidingpopups:
fadeInTime: 75
fadeOutTime: 125

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

screenshot:

minimizeanimation:

diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 25

desktopgrid:
zoomDuration: 150
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 1
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 75
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:
blurRadius: 12
cacheTexture: false

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 9 Martin Flöser 2018-06-01 15:23:45 UTC
Shot in the blue: please try disabling the dim inactive effect.
Comment 10 Christo 2018-06-01 18:33:42 UTC
(In reply to Martin Flöser from comment #9)
> Shot in the blue: please try disabling the dim inactive effect.

i disabled effects "dim inactive" and "dim parents" .. -> no change
Comment 11 Martin Kostolný 2020-01-23 12:42:14 UTC
I also experience this issue but I've never seen this happen to wayland clients. Only for xcb / x11 windows such as firefox, itellij-idea, kmail as xcb window etc. This effects every such window (including dropdown menus).

Amateur description: It looks like some rendered frames are skipped at the beginning of a window lifetime. The started program still works ("headless"), but it has lost visual connection with compositor. Also when compositor is running several hours, these issues are happening more often.

I'm on Intel graphics, Plasma 5.17.4, KF 5.66.
Comment 12 Christo 2020-04-14 15:52:32 UTC
Version
=======
KWin version: 5.12.8
Qt Version: 5.9.7
Qt compile version: 5.9.7
XCB compile version: 1.13

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12003000
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: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 14
font: Noto Sans,12,-1,5,50,0,0,0,0,0,SemiCondensed
smallSpacing: 3
largeSpacing: 14

Platform
==========
Name: DRM
Active: true
Atomic Mode Setting: true

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: true
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 6
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 2
legacyFullscreenSupport: false
operationTitlebarDblClick: 5009
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true

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

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: LP139UD1-SPA eDP-1-unknown
Geometry: 0,0,1920x1080
Scale: 2
Refresh Rate: 60.006


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL version string: 4.5 (Core Profile) Mesa 18.3.2
OpenGL platform interface: EGL
OpenGL shading language version string: 4.50
Driver: Intel
GPU class: Unknown
OpenGL version: 4.5
GLSL version: 4.50
Mesa version: 18.3.2
Linux kernel version: 4.12.14
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_windowaperture
kwin4_effect_translucency
kwin4_effect_morphingpopups
kwin4_effect_maximize
invert
kwin4_effect_logout
kwin4_effect_login
dimscreen
kwin4_effect_frozenapp
kwin4_effect_fade
kwin4_effect_dialogparent
slidingpopups
wobblywindows
screenshot
minimizeanimation
diminactive
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

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

Effect Settings:
----------------
kwin4_effect_windowaperture:

kwin4_effect_translucency:

kwin4_effect_morphingpopups:

kwin4_effect_maximize:

invert:

kwin4_effect_logout:

kwin4_effect_login:

dimscreen:

kwin4_effect_frozenapp:

kwin4_effect_fade:

kwin4_effect_dialogparent:

slidingpopups:
fadeInTime: 75
fadeOutTime: 125

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

screenshot:

minimizeanimation:

diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 25

desktopgrid:
zoomDuration: 150
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 1
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: false
fadeDuration: 75
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:
blurRadius: 12
cacheTexture: false

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 13 Mircea Kitsune 2020-04-15 02:21:55 UTC
This is likely in some way related to bug 420039 - Please check the info there and see if anything helps or resembles this.
Comment 14 Vlad Zahorodnii 2023-01-25 11:42:34 UTC
Can't reproduce. Reopen the bug report if the issue is still present in 5.26 or 5.27.