Bug 483683 - [Wayland] TasksModel.activeTask is invalid when xdg-desktop-portal is active
Summary: [Wayland] TasksModel.activeTask is invalid when xdg-desktop-portal is active
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.0.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-15 15:23 UTC by antroids
Modified: 2024-04-10 20:06 UTC (History)
2 users (show)

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


Attachments
Google Chrome about://gpu (47.59 KB, text/plain)
2024-03-15 15:23 UTC, antroids
Details
Chromium about://gpu (147.96 KB, text/plain)
2024-03-15 15:24 UTC, antroids
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antroids 2024-03-15 15:23:26 UTC
Created attachment 167263 [details]
Google Chrome about://gpu

STEPS TO REPRODUCE
1. Install Task Manager widget
2. Open Google Chrome browser
3. Right-click, Save as..

OBSERVED RESULT
New task blinks in the Task Manager bus disappears and no tasks marked as active anymore

EXPECTED RESULT
Google Chrome or any new task should be active in the Task Manager

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 14.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20UH001JRT
System Version: ThinkPad T14s Gen 1

ADDITIONAL INFORMATION
Works well in Chromium and Firefox.
Chrome arguments: %U --use-gl=angle --use-angle=gl --ignore-gpu-blocklist --disable-gpu-driver-bug-workaround --enable-features=VaapiVideoDecodeLinuxGL --enable-features=VaapiVideoEncoder --enable-features=VaapiVideoDecoder --disable-features=UseChromeOSDirectVideoDecoder
The same issue with Telegram Desktop.
Comment 1 antroids 2024-03-15 15:24:14 UTC
Created attachment 167264 [details]
Chromium about://gpu
Comment 2 Fushan Wen 2024-03-18 14:43:51 UTC
Cannot reproduce on X11
Comment 3 Nate Graham 2024-04-10 20:06:34 UTC
It's an issue on Wayland with the dialog not being marked as a dialog correctly. Now that the xdg-dialog-v1 Wayland protocol has been merged (see https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/228) it's up to Chromium to support it so that this can work as expected.