https://bugs.kde.org/show_bug.cgi?id=498875

            Bug ID: 498875
           Summary: Not even sure how to describe this: non-flatpak app
                    opens under flatpak app icon when both are present in
                    the icons-only task manager
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: plasma-b...@kde.org
          Reporter: offrhod...@gmail.com
                CC: qydwhotm...@gmail.com
  Target Milestone: 1.0

SUMMARY
I have two instances of Brave Browser installed on my system: the flatpak
version from Discover, and the non-flatpak version from the repo via dnf.

(yes I have a legit reason for wanting to do this)

Both have completely separate configurations and use cases, and both are pinned
in my Icons-Only Task Manager. Both do seem to run independently with no issue.

However, when I click on the icon in the Task Manager to launch the dnf
version, the icon for the flatpak version is the one that lights up (the dnf
version still opens as expected with its unique configuration, synced tabs,
etc).

When I click the icon to launch the flakpak version, the icon lights up and the
Flatpak version opens with its own unique setup as expected.

So these apps do operate independently, but instances of either app only show
up under the flatpak version icon.

Clicking the icon to launch the dnf version makes the system think that the
flatpak version is what's running, even though the flatpak version can then be
launched independently with a middle click.

However, middle-clicking each app's respective icon launches the appropriate
additional instance. So even when the dnf version is running, and the flatpak
icon is highlighted, middle-clicking the flatpak version icon still launches a
new instance of the flatpak version.

Have I explained this in a way that makes any sense whatsoever?

STEPS TO REPRODUCE
1. Install Brave browser flatpak via discover, AND install Brave browser via
dnf from Brave's repo
2. Change the icon of one of the two instances so you can tell them apart, and
pin them both to the Icons Only Task Manager on a panel
3. Reboot
4. Click the Brave (dnf version) icon in the Task Manager. The icon for the
flatpak version will be the one that highlights
5. While the dnf version is still running, middle click the flatpak icon (which
should now be highlighted). The flatpak version will now launch.
6. With both closed again, click the flatpak version icon. Flatpak version
launches as expected.

OBSERVED RESULT
Dnf version and flatpak version both launch their instances under the flatpak
version's icon, even though middle clicking respective icons still launches
respective new instances properly.

EXPECTED RESULT
Dnf version should launch under its own icon.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to