#829712 cinnamon: Display applications on the workspace where they were launched

Package:
cinnamon
Source:
cinnamon
Description:
Innovative and comfortable desktop
Submitter:
Krzysztof Słychań
Date:
2026-09-06 15:35:02 UTC
Severity:
minor
#829712#5
Date:
2016-07-05 14:21:47 UTC
From:
To:
Dear Maintainer,

whenever I launch an application and switch the workspace while the program is starting up,
the window appears on the new workspace, instead of the one where I launched it.


Example:
1. set up a multi-workspace desktop (two are enough)
2. start an application which takes a few seconds to run, like firefox
3. quickly switch between workspaces
4. IS: application shows up on the new workspace
   SHOULD BE: application will stay where it was started

#829712#10
Date:
2016-07-05 14:55:51 UTC
From:
To:
¡Hola Krzysztof!

El 2016-07-05 a las 16:21 +0200, Krzysztof Słychań escribió:

Afaics, that's working as intended. Cinnamon can only manage a window, the
firefox process seems to be taking a while till it starts to create a window.
This is basicly the same as running:
sleep 5; xclock

I don't see anything that can be done from the cinnamon side of things in this
case.

Happy hacking,

#829712#15
Date:
2026-09-06 15:33:29 UTC
From:
To:
Hi Krzysztof,

what you asked for is implemented, and contrary to the earlier reply on
this bug it is something the window manager can do: the launcher records
the current workspace in the startup notification, and muffin puts the
window there when it finally maps, wherever you have moved in the
meantime. Cinnamon has been doing this since before your report - the
call was already in cinnamon 3.0.4, the version you reported against.

I verified it on cinnamon 6.6.9 in a test VM with a deliberately slow
application (a .desktop with `Exec=sh -c "sleep 5; exec gedit"` and
`StartupNotify=true`): launched from the menu on workspace 1, then
switching to workspace 2 right away, the window still opened on
workspace 1. Muffin's own log confirms the path:


STARTUP: Found startup sequence for window ... ID "cinnamon/SlowTest/..."
PLACEMENT: Window ... is initially on space 0


So I am closing this bug. It does not work in these cases, none of which
cinnamon can do anything about:

- the application does not carry the startup id to its window, or the
window is created by an instance that is already running. Firefox, your
example, is the classic case of the second one: the new window comes
from the old process, which has no startup id of ours;
- the application is not started through the menu or a launcher - from a
terminal there is no startup notification at all, and the same is true
for the Alt+F2 run dialog, which runs a bare command line.

If you still see it with an application other than Firefox, please
reopen with the name of that application: that would be a bug in the
application, or something worth chasing in cinnamon.

Thanks for the report, and sorry it sat here this long.