Bug 455774 - (Wayland) Opening links with an application which has a window already open doesn't work well like in X11
Summary: (Wayland) Opening links with an application which has a window already open d...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.25.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 07:56 UTC by Lorenzo Ianotto
Modified: 2022-11-06 13:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Ianotto 2022-06-22 07:56:39 UTC
Opening links with an application which has a window already open doesn't work well like in X11:
- If the opened window is on the same virtual desktop, it won't change focus (1)
- If the opened window is on another virtual desktop, the highlighted task manager icon won't appear (2) or it will be broken (clicking on it won't change focus to that window) (3)

STEPS TO REPRODUCE (1)
1. Open an application (like a browser)
2. Open another application on the same virtual desktop
3. Open a link in the second app with the first app

OBSERVED RESULT (1)
Focus doesn't change to the first application when the link is opened

EXPECTED RESULT (1)
Focus changes to the first application when the link is opened


STEPS TO REPRODUCE (2)
1. Open an application (like a browser)
2. Open another application on a different virtual desktop
3. Open a link in the second app with the first app

OBSERVED RESULT (2)
The highlighted icon of the first app doesn't appear

EXPECTED RESULT (2)
An highlighted icon of the first app should appear in the task manager.
Clicking on this icon should change focus to the first app (where the link is opened)


STEPS TO REPRODUCE (3)
1. Open an application (like a browser)
2. Open another application on a different virtual desktop (like Konsole)
3. Open a link in the second app with the first app using the  "Search << >> with"  function

OBSERVED RESULT (3)
An highlighted icon of the first app appears in the task manager, but clicking on it doesn't change focus to the first app

EXPECTED RESULT (3)
An highlighted icon of the first app should appear in the task manager.
Clicking on this icon should change focus to the first app (where the link is opened)


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-06-22 16:19:50 UTC
See the "Blocked on required upstream changes" section at https://community.kde.org/Plasma/Wayland_Showstoppers.

We've done our part in Plasma, and now this is mostly up to apps to implement the Wayland xdg-activation-v1 protocol. Once they do, it will work.