After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642684 - Some apps don't start on the requested workspace
Some apps don't start on the requested workspace
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.31.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 604514 610010 643501 653222 665201 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-02-18 15:19 UTC by Milan Bouchet-Valat
Modified: 2021-07-05 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Bouchet-Valat 2011-02-18 15:19:57 UTC
With the new workspaces layout, you can drag and drop apps to another workspace, and they start on it instead of on the current workspace. This doesn't work for Qt applications.

I've tried with Okular (KDE app), qjackctl (Qt only), Rosegarden, Rkward...
Comment 1 Owen Taylor 2011-04-21 20:03:10 UTC
*** Bug 643501 has been marked as a duplicate of this bug. ***
Comment 2 Owen Taylor 2011-04-21 20:05:29 UTC
Bug 643501 also reports problems with Firefox and gwibber, though it's less clear why those applications would have problems, since they are using GTK+. Presumably, the overall here is applications that either don't attempt to implement the right specification for launching on a desktop using startup notification or do it badly. One thing we can consider is doing a fallback implementation of start-on-workspace using PID tracking we already do.
Comment 3 Milan Bouchet-Valat 2011-06-01 13:20:25 UTC
*** Bug 604514 has been marked as a duplicate of this bug. ***
Comment 4 Milan Bouchet-Valat 2011-06-01 13:20:41 UTC
*** Bug 610010 has been marked as a duplicate of this bug. ***
Comment 5 Milan Bouchet-Valat 2011-06-01 13:37:49 UTC
FWIW, KDE has a special class to handle startup notification:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKStartupInfo.html
The docs say:
> You usually don't need to use this class for sending the notification
> information, as KDE libraries should do this when an application is
> started (e.g. KRun class).

But KRun is actually the equivalent of GDesktopAppInfo and g_app_info_launch(), so not on the started app's side.

The README.startupinfo file [1] explains all the details, but it may be outdated.


1: https://projects.kde.org/projects/kde/kdelibs/repository/revisions/master/changes/kdecore/doc/README.kstartupinfo
Comment 6 Milan Bouchet-Valat 2011-06-23 11:12:09 UTC
*** Bug 653222 has been marked as a duplicate of this bug. ***
Comment 7 Philippe 2011-07-18 18:53:56 UTC
*** Bug 654811 has been marked as a duplicate of this bug. ***
Comment 8 Philippe 2011-07-18 18:57:09 UTC
Bug 654811 says the problem can be seen with Nautilus too, so it doesn't seem to be linked with KDE libraries.

Test case:
- No Nautilus instance is launched,
- Go to the Activities overview and pick the Nautilus icon. Drop it on an empty
workspace. It opens there. Great.
- Now pick the icon again and drop it again on an empty workspace. It doesn't
open there. It opens on the active workspace.

I don't really know if it is a GNOME Shell bug or a Nautilus one (in
conjonction with GNOME Shell). In fact, I've tested it with terminals instead
of Nautilus instances. It works fine with terminals: they always open in the
workspace they've been dropped on.

Spec: Fedora 15, GNOME 3.0.1, Nautilus 3.0.2-1.fc15 (x86_64, given from the
'Add/Remove Software' tool).
Comment 9 Milan Bouchet-Valat 2011-07-21 17:43:56 UTC
No, the problem with Nautilus is slightly different, since it works when no window is opened, and only fails otherwise. So that's a specific bug in Nautilus - would you open a new report for this?
Comment 10 Philippe 2011-08-01 18:59:12 UTC
Ok. Thanks for the explanation.
I've reassigned my initial bug 654811 to the nautilus project (with the correct version) and reopened it.
Comment 11 Milan Bouchet-Valat 2011-11-30 14:38:31 UTC
*** Bug 665201 has been marked as a duplicate of this bug. ***
Comment 12 Reda Lazri 2011-11-30 15:26:24 UTC
This also happens with JDownloader(Java) and Audacious(GTK3).
Comment 13 Alexandre Franke 2019-11-13 16:10:18 UTC
On 3.34 it works with Clocks, but not with Terminal, Weather, Music… It's also worth noting that for this to work, the app must be favorited to appear in the dash first. Otherwise you have no way of drag-n-dropping them from an icon to a workspace, as the workspaces are not displayed in the grid or the search results.
Comment 14 GNOME Infrastructure Team 2021-07-05 14:25:29 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.