Bug 503463

Summary: `systemsettings` keyboard shortcuts starts each time i start the different browser profile (Flatpak)
Product: [Plasma] xdg-desktop-portal-kde Reporter: kdeuzver <asdf-kd>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: aleixpol, john.kizer, kde, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
URL: https://issues.chromium.org/issues/404298968
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kdeuzver 2025-04-28 06:54:31 UTC
SUMMARY
i have Ungoogled-Chromium Flatpak installed. I'm running several browser profiles with different browser user directories: 
--user-data-dir= 
--profile-directory=

After a recent update and Flatpak update, except for Ungoogled-Chromium, I noticed a strange behavior:

Every time I launch different browser profiles, `systemsettings` is launched also on the keyboard shortcuts page for Ungoogled-Chromium and the keyboard shortcuts of the installed browser extensions are set there, but since I have different profiles with different installed extensions and keyboard shortcuts - every time I launch different profiles - every time the keyboard shortcuts in `systemsettings` are different too.

The xdg portal is involved somehow i guess.


STEPS TO REPRODUCE
1. Run Ungoogled-Chromium Flatpak with different flags: `--user-data-dir=/tmp/custom1` `--profile-directory=Custom1`
2. 
3. 

OBSERVED RESULT
`systemsettings` starts each browser start

EXPECTED RESULT
`systemsettings` shouldn't start each time the browser starts


SOFTWARE/OS VERSIONS
perating System: KDE neon 6.3
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ Ultra 7 255H
Memory: 30.8 ГиБ of RAM
Graphics Processor: Intel® Graphics


ADDITIONAL INFORMATION
One more side effect appear: F1 now calls the browser help page. I disabled F1 for Help in the `systemsettings`.
Comment 1 John Kizer 2025-04-28 19:39:09 UTC
Hi - this one mostly comes down to a Chromium bug: https://issues.chromium.org/issues/404298968

Although on a related note, an improved approach to prompting for Global Shortcuts on the Plasma side - which will make situations like this easier to work around - has been merged and is planned for Plasma 6.4: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/368

Thanks!