dock icon indicating copy to clipboard operation
dock copied to clipboard

Flatpak Firefox has an integration issue with the dock

Open arch3rtemp opened this issue 2 years ago • 4 comments

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

arch3rtemp avatar Mar 19 '22 16:03 arch3rtemp

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 Captura de pantalla de 2022-05-22 18-06-00

Firefox Captura de pantalla de 2022-05-22 18-06-21

stradicat avatar May 22 '22 22:05 stradicat

I can reproduce it on 6.1 (Jólnir), but the problem goes away after a reboot.

o-alquimista avatar Jul 09 '22 14:07 o-alquimista

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).

stradicat avatar Jul 09 '22 15:07 stradicat

Here's what it looks like:

Captura de tela de 2022-07-09 17-37-57

Steps I took:

  1. Clean install of elementary 6.1
  2. Install all available package updates and reboot
  3. Search "firefox" on the app center, click the "Flathub" link, which will open the default browser
  4. Install Firefox from Flathub using the sideload app
  5. Pin the Firefox launcher to the dock and run it, and you'll see the bug: 2 Firefox icons on the dock
  6. Reboot, then run Firefox again: only 1 icon, bug never happens again

o-alquimista avatar Jul 09 '22 20:07 o-alquimista

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.

cyrneko avatar Feb 12 '23 21:02 cyrneko

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 :)

danirabbit avatar Nov 07 '23 20:11 danirabbit