dock
dock copied to clipboard
Flatpak Firefox has an integration issue with the dock
What Happened?
Recently I noticed that after opening Firefox from the dock or applications menu, it has an issue with the integration. For more clarity see the video: https://drive.google.com/file/d/17QVMxNKLucH09w8EzzYi-vet_X3DDtCk/view?usp=sharing
Steps to Reproduce
I removed flatkap Firefox and reinstalled it but to no avail, whereas Non-Flatpak Firefox works as intended.
Expected Behavior
Every application should be integrated with Elementary OS dock
OS Version
6.x (Odin)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
This also happens with Chrome, now available from flatpak
(yay!).
The icon for the opened application is placed at the end of the dock, and not at the app icon's location:
Chrome
Firefox
I can reproduce it on 6.1 (Jólnir), but the problem goes away after a reboot.
It's been several reboots from my side, and this behaviour is not only restricted to browsers, but for other flatpak
apps in general (being Firefox the tip of the iceberg here).
Here's what it looks like:
Steps I took:
- Clean install of elementary 6.1
- Install all available package updates and reboot
- Search "firefox" on the app center, click the "Flathub" link, which will open the default browser
- Install Firefox from Flathub using the sideload app
- Pin the Firefox launcher to the dock and run it, and you'll see the bug: 2 Firefox icons on the dock
- Reboot, then run Firefox again: only 1 icon, bug never happens again
I have seen this happen from time to time with various Flatpak applications, including but not limited to:
- Firefox
- Telegram
- Element
- Eddy
Killing/Restarting the Dock/Plank has not resolved the issue. Restarting the system resolves the issue temporarily, but it pops up again from time to time.
This has been happening to me since 6.x, but is also still here on the new 7.0 release.
Going to close this as "Fixed" since we're doing a full rewrite of the dock and the new window matching method seems to work great with Firefox :)