https://bugs.kde.org/show_bug.cgi?id=480114

            Bug ID: 480114
           Summary: Secondary monitor flickers when opening and closing a
                    submenu in a GTK application
    Classification: Plasma
           Product: kwin
           Version: unspecified
          Platform: Arch Linux
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: juuso.maen...@tutanota.com
  Target Milestone: ---

Created attachment 165087
  --> https://bugs.kde.org/attachment.cgi?id=165087&action=edit
The other screen looks black on the recording but is actually flickering. It
goes back to normal after clicking on the screen

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When I open a submenu (dialog window) in any GTK app (tested on Bottles and
Mission Center) and close it, the monitor that the app is not placed on starts
to flicker until I click on the desktop on that monitor.


STEPS TO REPRODUCE
1. Open any GTK application
2. Open a dialog window in the GTK application
3. Close the dialog window

OBSERVED RESULT
The screen not having the app starts to flicker.

EXPECTED RESULT
No screen flickering

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 6.7.0-arch3-1
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.12.12

ADDITIONAL INFORMATION
Output from `journalctl --user-unit plasma-kwin_wayland`:
```
-- Boot 02fd652bb3164992b3ca29f11995e157 --
tammi 21 02:22:39 hostname systemd[599]: Starting KDE Window Manager...
tammi 21 02:22:39 hostname systemd[599]: Started KDE Window Manager.
tammi 21 02:22:39 hostname kwin_wayland[647]: No backend specified,
automatically choosing drm
tammi 21 02:22:39 hostname kwin_wayland[647]: OpenGL vendor string:            
      AMD
tammi 21 02:22:39 hostname kwin_wayland[647]: OpenGL renderer string:          
      AMD Radeon RX 6600 (radeonsi, navi23, LLVM 16.0.6, DRM 3.56,
6.7.0-arch3-1)
tammi 21 02:22:39 hostname kwin_wayland[647]: OpenGL version string:           
      4.6 (Core Profile) Mesa 23.3.3-arch1.1
tammi 21 02:22:39 hostname kwin_wayland[647]: OpenGL shading language version
string: 4.60
tammi 21 02:22:39 hostname kwin_wayland[647]: Driver:                          
      Unknown
tammi 21 02:22:39 hostname kwin_wayland[647]: GPU class:                       
      Unknown
tammi 21 02:22:39 hostname kwin_wayland[647]: OpenGL version:                  
      4.6
tammi 21 02:22:39 hostname kwin_wayland[647]: GLSL version:                    
      4.60
tammi 21 02:22:39 hostname kwin_wayland[647]: Mesa version:                    
      23.3.3
tammi 21 02:22:39 hostname kwin_wayland[647]: Linux kernel version:            
      6.7
tammi 21 02:22:39 hostname kwin_wayland[647]: Requires strict binding:         
      no
tammi 21 02:22:39 hostname kwin_wayland[647]: GLSL shaders:                    
      yes
tammi 21 02:22:39 hostname kwin_wayland[647]: Texture NPOT support:            
      yes
tammi 21 02:22:39 hostname kwin_wayland[647]: Virtual Machine:                 
      no
tammi 21 02:22:39 hostname kwin_wayland_wrapper[714]: (WW) Option "-listen" for
file descriptors is deprecated
tammi 21 02:22:39 hostname kwin_wayland_wrapper[714]: Please use "-listenfd"
instead.
tammi 21 02:22:39 hostname kwin_wayland_wrapper[714]: (WW) Option "-listen" for
file descriptors is deprecated
tammi 21 02:22:39 hostname kwin_wayland_wrapper[714]: Please use "-listenfd"
instead.
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::begin: Paint device
returned engine == 0, type: 3
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setPen: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setRenderHint: Painter
must be active to set rendering hints
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setCompositionMode:
Painter not active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::setBrush: Painter not
active
tammi 21 02:22:39 hostname kwin_wayland[647]: QPainter::end: Painter not
active, aborted
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86CameraAccessEnable
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86CameraAccessDisable
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86CameraAccessToggle
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86NextElement
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86PreviousElement
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86AutopilotEngageToggle
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86MarkWaypoint
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86Sos
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86NavChart
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86FishingChart
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86SingleRangeRadar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86DualRangeRadar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86RadarOverlay
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86TraditionalSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86ClearvuSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86SidevuSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: > Warning:          Could
not resolve keysym XF86NavInfo
tammi 21 02:22:40 hostname kwin_wayland_wrapper[752]: Errors from xkbcomp are
not fatal to the X server
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:         
Unsupported maximum keycode 708, clipping.
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: >                   X11
cannot support keycodes above 255.
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86CameraAccessEnable
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86CameraAccessDisable
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86CameraAccessToggle
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86NextElement
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86PreviousElement
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86AutopilotEngageToggle
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86MarkWaypoint
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86Sos
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86NavChart
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86FishingChart
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86SingleRangeRadar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86DualRangeRadar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86RadarOverlay
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86TraditionalSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86ClearvuSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86SidevuSonar
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Warning:          Could
not resolve keysym XF86NavInfo
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: > Error:            Key
<CAPS> added to map for multiple modifiers
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: >                   Using
Control, ignoring Lock.
tammi 21 02:22:40 hostname kwin_wayland_wrapper[759]: Errors from xkbcomp are
not fatal to the X server
tammi 21 02:22:42 hostname kwin_wayland[647]: kf.config.core: "\"fsrestore1\" -
conversion of \"0,0,0,0\" to QRect failed"
tammi 21 02:22:42 hostname kwin_wayland[647]: kf.config.core: "\"fsrestore2\" -
conversion of \"0,0,0,0\" to QRect failed"
tammi 21 02:22:42 hostname kwin_wayland[647]: kf.config.core: "\"fsrestore3\" -
conversion of \"0,0,0,0\" to QRect failed"
tammi 21 02:22:44 hostname kwin_wayland[647]: kwin_core: Cannot grant a token
to KWaylandServer::ClientConnection(0x63b755c19d30)
tammi 21 02:22:51 hostname kwin_wayland_wrapper[647]: error in client
communication (pid 1263)
tammi 21 02:22:52 hostname kwin_wayland[647]: kwin_core: Cannot grant a token
to KWaylandServer::ClientConnection(0x63b755e26db0)
tammi 21 02:23:03 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:23:03 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!
tammi 21 02:23:09 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:23:09 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!
tammi 21 02:23:13 hostname kstart5[1637]: Omitting both --window and
--windowclass arguments is not recommended
tammi 21 02:24:13 hostname kwin_wayland[647]: kwin_core: Cannot grant a token
to KWaylandServer::ClientConnection(0x63b755ce0e50)
tammi 21 02:24:19 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:24:19 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!
tammi 21 02:24:22 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:24:22 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!
tammi 21 02:24:25 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:24:25 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!
tammi 21 02:24:38 hostname kstart5[2763]: Omitting both --window and
--windowclass arguments is not recommended
tammi 21 02:25:35 hostname kstart5[2890]: Omitting both --window and
--windowclass arguments is not recommended
tammi 21 02:26:02 hostname kwin_wayland[647]: This plugin does not support
raise()
tammi 21 02:28:05 hostname kwin_wayland[647]: This plugin does not support
raise()
tammi 21 02:29:07 hostname kwin_wayland[647]: kwin_core: Cannot grant a token
to KWaylandServer::ClientConnection(0x63b75511f510)
tammi 21 02:29:20 hostname kwin_wayland[647]: libkwinglutils: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
tammi 21 02:29:20 hostname kwin_wayland[647]: libkwinglutils: Can't enable
invalid framebuffer object!

```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to