Some Qt-based applications open "another" icon under Gnome

Bug #2044382 reported by Dave Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
New
Undecided
Unassigned
quassel (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm unsure if this is a bug in the affected applications, or in the gnome dock itself. Under Ubuntu 23.10 (mantic) and 24.04 (noble), running Quassel, Veusz, or OpenSCAD from a pinned icon on the left bar results in the pinned icon appearing "idle" (not running), and a second icon appearing below those that are pinned which apparently represents the running instance.

Pressing the idle application icon (or pressing the Super+N shortcut for it) runs *another* instance of the application rather than switching to the running instance. The "extra" icon also cannot be pinned (and occasionally strange "copies" of it are left lying around if one tries to drag it to the pinned icon locations).

This may be because these are all Qt-based applications, but I also run KeepassXC (another Qt application) without such issues (other than unusual window borders and icons which appear on both applications), hence why I'm unsure this is an issue in these applications or in the gnome dock. I'll attach a screenshot demonstrating the issue.

Tags: mantic
Revision history for this message
Dave Jones (waveform) wrote :
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: added: mantic
Revision history for this message
Dave Jones (waveform) wrote :

Hmm, it certainly sounds similar in some aspects: if I click on the pinned icon for Quassel after it's already launched, it does launch another instance. However, I'm not using multiple monitors, or multiple workspaces, and currently it only occurs with Quassel. Firefox and terminal are unaffected.

Revision history for this message
Dave Jones (waveform) wrote :

This seems to be something to do with the version of the dash under mantic, and with the fact it's running under Wayland specifically. A similar issue came up on the Pi forums, and included an excellent minimal reproduction case (which I'll include here for simplicity). Notably, the issue does *not* occur (with either this reproduction case, or with quassel) under Xorg, only under a Wayland session:

~/.local/bin/stopwatch:

  #!/bin/bash
  echo "STOP"
  echo "Watch"
  read

~/.local/share/applications/stopwatch.desktop:

  [Desktop Entry]
  Version=1.0
  Type=Application
  Terminal=false
  Icon=StopWatch
  Name=StopWatch
  Exec=gnome-terminal --class=StopWatchTerminal -- /home/ubuntu/.local/bin/stopwatch
  StartupWMClass=StopWatchTerminal

Adjust the /home/ubuntu/ path as necessary. Pin the "StopWatch" application to the dash and launch it; under Xorg a dot appears next to the pinned application. Under Wayland, an additional "gnome-terminal-server" icon appears on the dash.

Revision history for this message
Dave Jones (waveform) wrote :

Oh, and the issue on the Pi forums is here: https://forums.raspberrypi.com/viewtopic.php?p=2167317

Dave Jones (waveform)
summary: - Quassel opens "another" icon under Gnome
+ Some Qt-based applications open "another" icon under Gnome
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.