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

            Bug ID: 464892
           Summary: Multi-monitor issues under X11
    Classification: Plasma
           Product: kwin
           Version: 5.26.5
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: xrandr
          Assignee: kwin-bugs-n...@kde.org
          Reporter: kenny.mh....@outlook.com
  Target Milestone: ---
             Flags: Wayland-

Created attachment 155697
  --> https://bugs.kde.org/attachment.cgi?id=155697&action=edit
Plasma Panel and Start screen, with no icons appearing. Below is what seems
like 1 entry in a context menu, taking up an entire monitor.

SUMMARY
Not sure where to start, but a chain of issues happens when a second monitor is
connected and enabled, making plasma very unstable for general use.
In my case, my main GPU is an Intel HD 630 (Main monitor@1080p60) with an
NVIDIA GPU (Connected to my second monitor@1080p60) in prime render offload
mode.

STEPS TO REPRODUCE
1. Connect and enable the second monitor

OBSERVED RESULT
If second monitor connected & enabled on startup, no icon will appear in the
panel, widgets and the desktop.

If the second monitor is connected/enabled mid-way, most existing icon will
disappear once you hover/interact over them. (Some however still remains, for
example task switcher)

Checking journalctl, I only noticed the following abnormality:
kwin_x11[1568]: kf.config.core: "\"NaturalSize_inf\" - conversion of
\"-2147483648,-2147483648\" to QSizeF failed" (When Task Switcher is opened)

kwin_x11[1568]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable),
sequence: 35660, resource id: 8392691, major code: 14 (GetGeometry), minor
code: 0

(Not sure how much relevancy this has)

Window title will also disappear, the context menu that appears when right
clicking a window becomes a gigantic, oversized menu with 1 entry that takes up
the entire monitor space.
(It may also freeze the window for a couple second before showing the broken
menu)

The above journalctl errors seems to disappear after the second monitor is
disabled, however all the issues persists until the affected application
restarts. (So to recover, I need to disconnect my second monitor, then restart
plasmashell, kwin and lattedock as these are the applications affected)

EXPECTED RESULT
None of the above should occur.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian GNU/Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 6.1.0
Graphics Platform: X11

ADDITIONAL INFORMATION
- This seems to be a rather niche issue as there's only little information
online (Apart from a reddit post I found below that has the exact same
problem), but I can consistently reproduce it on my machine and I am forced to
disable my second monitor at the moment.
https://www.reddit.com/r/archlinux/comments/y3v6ev/kde_missing_icons_in_x11_task_bar_is_just_blank

- Issue persists on Plasma 5.27 Beta, tested on a KDE Neon (Testing) Live
session.
- No such issue seems to be found on Wayland. However Wayland has its own set
of issues preventing me from using it as a daily driver.

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

Reply via email to