• Bug#1108914: plasma-desktop: Focus-follows-mouse broken when switching

    From Jacob Kanev@21:1/5 to All on Mon Jul 7 17:30:02 2025
    Subject: plasma-desktop: Focus-follows-mouse broken when switching activities Package: plasma-desktop
    Version: 4:6.3.5-1
    Severity: important
    Tags: a11y

    Dear Maintainer,

    * In the newer KDE/Plasma versions, on Debian since roughly four months ago (on debian/testing), the focus-follows-mouse behaviour doesn't work any more when using multiple activities.
    * When working with a program window (mail client, browser, editor, anything), and then switching activities, the focus stays on that same window.
    - Example: I work with my email client. I switch activities using the activity switcher in the task bar. I now see the web browser. I click on the web browser window. The windows does not react. A menu pops up asking whether I want to move that
    email.
    - Other example: I work in a text editor. I mark some text. I switch activities and now see my web browser. I click the web browser window, I want to go back one page and hit the delete key. Nothing happens. Going back to the previous activity, I
    find I've just deleted the marked text in the text editor.
    * What I expect: When switching to a different activity using the activity switcher, the window that is visible and in the same activity and on the same desktop (the window that I see under the mouse) should get the Focus.
    * What I see: When switching to a different activity using the activity switcher, the window that had the focus before switching keeps the focus. The windows that is visible under the mouse does not receive mouse nor keyboard input.
    * Notes:
    - To activate the current window, after switching activities, I have to press the respective button in the task list.
    - Other flavours of the "focus follows mouse" setting in the systemsettings have the same effect.
    - When staying in the same activity, the focus works as expected.

    -- System Information:
    Debian Release: 13.0
    APT prefers testing
    APT policy: (500, 'testing'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.33+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages plasma-desktop depends on:
    ii accountsservice 23.13.9-7
    ii breeze 4:6.3.5-1
    ii kactivitymanagerd 6.3.4-1
    ii kde-cli-tools 4:6.3.4-1
    ii kded6 6.13.0-1
    ii kio6 6.13.0-6
    ii layer-shell-qt 6.3.4-1
    ii libaccounts-qt6-1 1.17-4+b1
    ii libc6 2.41-9
    ii libcanberra0 0.30-18
    ii libglib2.0-0t64 2.84.3-1
    ii libibus-1.0-5 1.5.32-1
    ii libicu76 76.1-4
    ii libkaccounts6-2 4:25.04.0-1
    ii libkf6attica6 6.13.0-1
    ii libkf6authcore6 6.13.0-1
    ii libkf6baloo6 6.13.0-1
    ii libkf6bookmarks6 6.13.0-1
    ii libkf6codecs6 6.13.0-1
    ii libkf6completion6 6.13.0-1
    ii libkf6configcore6 6.13.0-2
    ii libkf6configgui6 6.13.0-2
    ii libkf6configwidgets6 6.13.0-1
    ii libkf6coreaddons6 6.13.0-1
    ii libkf6crash6 6.13.0-1
    ii libkf6dbusaddons6 6.13.0-1
    ii libkf6globalaccel6 6.13.0-1
    ii libkf6guiaddons6 6.13.0-1
    ii libkf6i18n6 6.13.0-1
    ii libkf6i18nlocaledata6 6.13.0-1
    ii libkf6iconwidgets6 6.13.0-1
    ii libkf6itemviews6 6.13.0-1
    ii libkf6jobwidgets6 6.13.0-1
    ii libkf6kcmutils6 6.13.0-2
    ii libkf6kcmutilscore6 6.13.0-2
    ii libkf6kcmutilsquick6 6.13.0-2
    ii libkf6kiocore6 6.13.0-6
    ii libkf6kiofilewidgets6 6.13.0-6
    ii libkf6kiogui6 6.13.0-6
    ii libkf6kiowidgets6 6.13.0-6
    ii libkf6newstuffcore6 6.13.0-1
    ii libkf6notifications6 6.13.0-1
    ii libkf6notifyconfig6 6.13.0-1
    ii libkf6package6 6.13.0-1
    ii libkf6runner6 6.13.0-1
    ii libkf6service-bin 6.13.0-1
    ii libkf6service6 6.13.0-1
    ii libkf6solid6 6.13.0-1
    ii libkf6sonnetcore6 6.13.0-1
    ii libkf6sonnetui6 6.13.0-1
    ii libkf6svg6 6.13.0-1
    ii libkf6widgetsaddons6 6.13.0-1
    ii libkf6windowsystem6 6.13.0-2
    ii libkf6xmlgui6 6.13.0-1
    ii libkworkspace6-6 4:6.3.5-1
    ii libnotificationmanager1 4:6.3.5-1
    ii libpackagekitqt6-1 1.1.2-1+b1
    ii libplasma6 6.3.5-1
    ii libplasmaactivities6 6.3.4-1
    ii libplasmaactivitiesstats1 6.3.4-1
    ii libplasmaquick6 6.3.5-1
    ii libprocesscore10 4:6.3.5-1
    ii libqt6core6t64 [qt6-base-private-abi] 6.8.2+dfsg-7
    ii libqt6dbus6 6.8.2+dfsg-7
    ii libqt6gui6 6.8.2+dfsg-7
    ii libqt6network6 6.8.2+dfsg-7
    ii libqt6qml6 6.8.2+dfsg-7
    ii libqt6quick6 6.8.2+dfsg-7
    ii libqt6quickwidgets6 6.8.2+dfsg-7
    ii libqt6sql6 6.8.2+dfsg-7
    ii libqt6waylandclient6 6.8.2-4
    ii libqt6widgets6 6.8.2+dfsg-7
    ii libqt6xml6 6.8.2+dfsg-7
    ii libscim8v5 1.4.18+git20211204-0.2+b4
    ii libsdl2-2.0-0 2.32.4+dfsg-1
    ii libstdc++6 14.2.0-19
    ii libtaskmanager6 4:6.3.5-1
    ii libwacom9 2.14.0-1
    ii libwayland-client0 1.23.1-3
    ii libx11-6 2:1.8.12-1
    ii libx11-xcb1 2:1.8.12-1
    ii libxcb-keysyms1 0.4.1-1
    ii libxcb-xkb1 1.17.0-2+b1
    ii libxcb1 1.17.0-2+b1
    ii libxcursor1 1:1.2.3-1
    ii libxi6 2:1.8.2-1
    ii libxkbcommon0 1.7.0-2
    ii libxkbfile1 1:1.1.0-1+b4
    ii libxkbregistry0 1.7.0-2
    ii ocean-sound-theme 6.3.4-1
    ii oxygen-sounds 4:6.3.4-1
    ii plasma-desktop-data 4:6.3.5-1
    ii plasma-desktoptheme 6.3.5-1
    ii plasma-integration 6.3.4-1
    ii plasma-workspace 4:6.3.5-1
    ii polkit-kde-agent-1 4:6.3.4-1
    ii qml6-module-org-kde-activities 6.3.4-1
    ii qml6-module-org-kde-baloo 6.13.0-1
    ii qml6-module-org-kde-breeze 6.3.5-1
    ii qml6-module-org-kde-config 6.13.0-2
    ii qml6-module-org-kde-coreaddons 6.13.0-1
    ii qml6-module-org-kde-desktop 6.13.0-1
    ii qml6-module-org-kde-draganddrop 6.13.0-1
    ii qml6-module-org-kde-graphicaleffects 6.13.0-1
    ii qml6-module-org-kde-iconthemes 6.13.0-1
    ii qml6-module-org-kde-kcmutils 6.13.0-2
    ii qml6-module-org-kde-kirigami 6.13.0-2
    ii qml6-module-org-kde-kirigamiaddons-components 1.7.0-1
    ii qml6-module-org-kde-kirigamiaddons-delegates 1.7.0-1
    ii qml6-module-org-kde-kirigamiaddons-tableview 1.7.0-1
    ii qml6-module-org-kde-kitemmodels 6.13.0-1
    ii qml6-module-org-kde-kquickcontrols 6.13.0-1
    ii qml6-module-org-kde-kquickcontrolsaddons 6.13.0-1
    ii qml6-module-org-kde-ksvg 6.13.0-1
    ii qml6-module-org-kde-kwindowsystem 6.13.0-2
    ii qml6-module-org-kde-newstuff 6.13.0-1
    ii qml6-module-org-kde-pipewire 6.3.5-1
    ii qml6-module-qt-labs-platform 6.8.2+dfsg-7
    ii qml6-module-qt5compat-graphicaleffects 6.8.2-3+b1
    ii qml6-module-qtcore 6.8.2+dfsg-7
    ii qml6-module-qtqml 6.8.2+dfsg-7
    ii qml6-module-qtqml-models 6.8.2+dfsg-7
    ii qml6-module-qtqml-workerscript 6.8.2+dfsg-7
    ii qml6-module-qtquick 6.8.2+dfsg-7
    ii qml6-module-qtquick-controls 6.8.2+dfsg-7
    ii qml6-module-qtquick-dialogs 6.8.2+dfsg-7
    ii qml6-module-qtquick-effects 6.8.2+dfsg-7
    ii qml6-module-qtquick-layouts 6.8.2+dfsg-7
    ii qml6-module-qtquick-shapes 6.8.2+dfsg-7
    ii qml6-module-qtquick-templates 6.8.2+dfsg-7
    ii qml6-module-qtquick-window 6.8.2+dfsg-7
    ii qt6-svg-plugins 6.8.2-3

    Versions of packages plasma-desktop recommends:
    ii bluedevil 4:6.3.4-2
    ii breeze-gtk-theme 6.3.4-1
    ii fonts-hack 3.003-3
    ii fonts-noto 20201225-2
    ii fonts-noto-color-emoji 2.048-1
    ii ibus-data 1.5.32-1
    ii kde-config-gtk-style 4:6.3.4-1
    ii kde-config-screenlocker 6.3.5-1
    pn kde-config-sddm <none>
    ii kde-spectacle 4:6.3.5-2
    ii kgamma 6.3.4-1
    ii khelpcenter 4:25.04.0-1
    ii kinfocenter 4:6.3.5-1
    ii kio-extras 4:25.04.2-1
    ii kmenuedit 4:6.3.4-2
    ii kscreen 4:6.3.5-1
    ii ksshaskpass 4:6.3.4-1
    ii kwin-wayland 4:6.3.5-1
    ii kwin-x11 4:6.3.5-1
    ii kwrited 4:6.3.4-1
    ii libkf6kcmutils-bin 6.13.0-2
    ii libpam-kwallet5 6.3.4-1
    ii plasma-browser-integration 6.3.4-2
    ii plasma-desktop-doc 4:6.3.5-1
    ii plasma-discover 6.3.5-1
    ii plasma-disks 6.3.4-1
    ii plasma-firewall 6.3.4-2
    ii plasma-nm 4:6.3.4-1
    ii plasma-pa 4:6.3.4-1
    ii plasma-systemmonitor 6.3.4-1
    ii plasma-thunderbolt 6.3.4-1
    ii plasma-vault 6.3.5-1
    ii plasma-welcome 6.3.4-1
    ii plasma5-integration 6.3.4-1
    ii powerdevil 4:6.3.5-1
    ii systemsettings 4:6.3.4-2
    ii xdg-desktop-portal-gtk 1.15.3-1
    ii xdg-desktop-portal-kde 6.3.5-1

    Versions of packages plasma-desktop suggests:
    pn kde-config-flatpak <none>
    pn plasma-theme-oxygen <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?ISO-8859-1?Q?Aur=E9lien_COUDERC?=@21:1/5 to All on Mon Jul 7 18:40:01 2025
    Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=505343

    Le 7 juillet 2025 17:04:36 GMT+02:00, Jacob Kanev <[email protected]> a écrit : >Subject: plasma-desktop: Focus-follows-mouse broken when switching activities >Package: plasma-desktop
    Version: 4:6.3.5-1
    Severity: important
    Tags: a11y

    Dear Maintainer,

    Dear Jacob,

    * In the newer KDE/Plasma versions, on Debian since roughly four months ago (on debian/testing), the focus-follows-mouse behaviour doesn't work any more when using multiple activities

    Indeed this seems to be upstream bug 505343 linked above but it doesn't have a fix yet.


    Happy hacking,
    --
    Aurélien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jacob Kanev@21:1/5 to All on Mon Jul 7 21:30:01 2025
    Thank you! I'll add some more information on the upstream's bug page.

    All the best, Jacob.



    On Monday, 7 July 2025 18:33:39 Central European Summer Time Aurélien COUDERC wrote:
    Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=505343

    Le 7 juillet 2025 17:04:36 GMT+02:00, Jacob Kanev <[email protected]> a écrit :
    Subject: plasma-desktop: Focus-follows-mouse broken when switching activities
    Package: plasma-desktop
    Version: 4:6.3.5-1
    Severity: important
    Tags: a11y

    Dear Maintainer,

    Dear Jacob,

    * In the newer KDE/Plasma versions, on Debian since roughly four months ago (on debian/testing), the focus-follows-mouse behaviour doesn't work any more when using multiple activities

    Indeed this seems to be upstream bug 505343 linked above but it doesn't have a fix yet.


    Happy hacking,
    --
    Aurélien


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)