Bug 480994 - switching "extend to left" to "extend to right" makes systray popup appear on the left side of the main screen
Summary: switching "extend to left" to "extend to right" makes systray popup appear on...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.92.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-07 10:21 UTC by Henning
Modified: 2024-02-29 01:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2024-02-07 10:21:30 UTC
Followup on https://bugs.kde.org/show_bug.cgi?id=480993

I have a laptop with an external monitor over HDMI to my left, so I chose "extend to left" when the dialog automatically appeared. But it extended to the right, so I went to the systray "monitor configuration" applet and enabled "extend to the left".

Now the monitor is black, only the main monitor is showing.

Then I switched to "extend to the right" and the popup appeared on the other side, just above kickoff, still on the main screen, no changes to the screen layout, monitor still black

Feb 07 11:20:20 PC plasmashell[1999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:60: TypeError: Property 'pressed' of object QQuickMouseArea_QML_143(0x55a1d0f2fc70) is not a function
Feb 07 11:20:22 PC plasmashell[1999]: The cached device pixel ratio value was stale on window expose.  Please file a QTBUG which explains how to reproduce.
Feb 07 11:20:22 PC plasmashell[1999]: kf.windowsystem.wayland: Failed to recreate shadow for PlasmaQuick::AppletPopup(0x55a1d01d8730, name="popupWindow")
Feb 07 11:20:28 PC plasmashell[1999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:60: TypeError: Type error
Feb 07 11:20:33 PC plasmashell[1999]: kf.windowsystem.wayland: Failed to recreate shadow for PlasmaQuick::AppletPopup(0x55a1d01d8730, name="popupWindow")

Those logs only indicate stuff about the applet, not about the monitor config not doing anything I think.

The applet showing on the left when using "extend to the right" and appearing normal when using "extend to the left" is reproducible.

Operating System: Fedora Linux 40
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64 (64-bit)
Graphics Platform: offscreen
Processors: 8 × AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
Memory: 5.7 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Comment 1 Henning 2024-02-07 10:24:02 UTC
Feb 07 11:23:30 PC kwalletd6[1680]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC kactivitymanagerd[2045]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC kded6[1954]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC polkit-kde-authentication-agent-1[2073]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC konsole[3980]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC plasma-discover[4197]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC DiscoverNotifier[2332]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC baloorunner[2993]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC kdeconnectd[2305]: 2024-02-07T11:23:30 qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC org_kde_powerdevil[2074]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC plasmashell[1999]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC xdg-desktop-portal-kde[2075]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
Feb 07 11:23:30 PC plasmashell[1999]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Feb 07 11:23:30 PC plasmashell[1999]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1707300491906: Unsupported image format
Feb 07 11:23:30 PC plasmashell[1999]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1707300491906: Unsupported image format
Feb 07 11:23:30 PC plasmashell[1999]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1707300491906: Unsupported image format
Feb 07 11:23:30 PC plasmashell[1999]: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:201:9: QML QQuickImage: Error decoding: qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml?timestamp=1707300491906: Unsupported image format
Feb 07 11:23:30 PC plasmashell[1999]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Feb 07 11:23:30 PC plasmashell[1999]: The cached device pixel ratio value was stale on window expose.  Please file a QTBUG which explains how to reproduce.
Feb 07 11:23:32 PC pipewire[1755]: mod.client-node: 0x5606b8529500: unknown peer 0x5606b850cbe0 fd:64
Feb 07 11:23:33 PC pipewire[1755]: mod.client-node: 0x5606b8425fd0: unknown peer 0x5606b850f5f0 fd:41
Feb 07 11:23:33 PC pipewire[1755]: mod.client-node: 0x5606b8304790: unknown peer 0x5606b834b300 fd:64
Feb 07 11:23:33 PC wireplumber[1757]: <WpSiStandardLink:0x564370e1f6b0> si-standard-link: in/out items are not valid anymore
Feb 07 11:23:33 PC wireplumber[1757]: <WpAsyncEventHook:0x564370dc7810> failed: failed to activate si-standard-link: <WpSiNode:0x564370e40240> error:si-standard-link: in/out items are not valid anymore
Comment 2 Henning 2024-02-07 10:26:22 UTC
The external monitor doesnt get any output anymore.

I think I enabled "unify outputs" so that every monitor is displaying the same.

So 

1. log in, dialog pops up, select "extend to left" which is actually right
2. fiddle around, select "unify outputs", from then on the external screen is black
3. extend left right, causes but of applet appearing on the wrong side but still no output
4. "switch to external monitor only" makes both go black

I use the monitor daily on Plasma 5, it has somewhat of a bad contact but it works normally. I moved the cable in and out so I exclude a hardware problem.
Comment 3 Zamundaaa 2024-02-07 22:23:11 UTC
When this happens, does the monitor still show the cursor, and can you move it around? And if you try to start some app with a shortcut, does that work?
Comment 4 Nate Graham 2024-02-08 17:48:00 UTC
The OSD doing the wrong thing is fixed with Bug 480993, FWIW.

I'd also recommend re-testing with KWin that has https://invent.kde.org/plasma/kwin/-/commit/6b4018014ca4dfe170d2ddab3873222acc3edcf0 included, to see if that made a difference at all.
Comment 5 Bug Janitor Service 2024-02-23 03:46:18 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 6 Henning 2024-02-29 01:11:28 UTC
I will test and report again.