Bug 241864 - Remember current virtual desktop of each activity
Summary: Remember current virtual desktop of each activity
Status: RESOLVED FIXED
Alias: None
Product: kactivitymanagerd
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
: 265015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-15 23:58 UTC by Bernhard Friedreich
Modified: 2016-07-11 12:22 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Friedreich 2010-06-15 23:58:37 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When changing from one activity to another the virtual desktop last used on that activity should be remembered.

Usecase:
Hacking away at some stuff on activity "development" on vdesktop3 (1 and 2 are populated with dolphins and konsoles)
then I want to make a little break and switch to my leisure activity with the browser I still have opened on vdesktop1 (from where I left to the "development" activity)

switching back to the "leisure" activity should result in going back to vdesktop1 and switching to "development" again I should be at vdesktop3 again.

Reproducible: Always
Comment 1 FiNeX 2010-07-11 12:08:58 UTC
I like very much this idea.
Comment 2 adrian15 2010-11-11 11:27:25 UTC
Please close this bug.
What you want is to map an activity to a virtual desktop.

You can already do that in current KDE4 versions.

System Settings -> Several desktops -> Desktops -> Check "A distinct activity for each desktop".
Comment 3 FiNeX 2010-11-11 12:26:37 UTC
@adrian: I'm not sure it is the same thing
Comment 4 Bernhard Friedreich 2010-11-13 14:15:30 UTC
@adrian: what you mentioned isn't what I ment! please reread my usecase or ask again if you didn't understand it.
Comment 5 Chani 2010-12-01 19:53:42 UTC
bernhard: interesting. sometimes I find myself wishing for this, too.
I'm not quite convinced... but it's something to discuss for 4.7 :)

...however, it really belongs more to the kwin side of activities. maybe I should make a component for that product :)
Comment 6 Michael Reiher 2011-05-08 12:19:40 UTC
Pleeease implement this! I have two, three activities for different topics I work on and frequently switch between them. Almost always I end up on the wrong virtual desktop as almost always I want the VD I last used on that activity. I get the correct VD only by chance. So this always requires an extra click to switch VD.
Comment 7 Wolfram R. Sieber 2011-05-16 22:51:26 UTC
Bug #265015 looks like asking for the same thing as this here bug report.
Comment 8 Gábor Katona 2011-05-17 10:14:05 UTC
It seems that users would really like this behavior. This is not surprising, since all descriptions/reviews on activities suggested, that activities are independent workflows, and independent of the reviews, the idea of independent workflows really seems useful. In its current state activities provide only semi independent workflows. This can be used of course, but really independent workflows should be the final goal I think. 

To tell the truth, I would like to be able to have different number of VDs, different Panel and different everything... Totally independent workflows. This could really increase productivity.
Comment 9 Renan Inácio 2011-06-27 19:19:29 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Alexandre Pereira 2011-08-26 08:27:49 UTC
would also love this!!

actually i have been wishing for this sometime now, just discovered by a identi.ca reply when i dented saying that this is my most top wish for kde activities.
Comment 11 makism 2011-11-17 15:08:36 UTC
In case anyone is interested: i posted a proposed patch at a duplicate report of this bug: Bug #265015 (https://bugs.kde.org/show_bug.cgi?id=265015).
Comment 12 Gregor Tätzner 2011-12-06 14:23:13 UTC
*** Bug 265015 has been marked as a duplicate of this bug. ***
Comment 13 Sebastian Schubert 2012-01-31 15:36:17 UTC
Implementing this would increase the usefulness of activities much more.
Comment 14 Lamarque V. Souza 2012-03-31 17:27:02 UTC
Git commit 6397ef5f8977af0d867c7ab72b0ccf8cb9011771 by Lamarque V. Souza.
Committed on 31/03/2012 at 19:22.
Pushed by lvsouza into branch 'KDE/4.8'.

Remember current desktop when changing activity.
Thanks to makis marimpis for this patch.

REVIEW: 104261

M  +15   -0    service/ActivityManager.cpp
M  +1    -0    service/ActivityManager_p.h

http://commits.kde.org/kactivities/6397ef5f8977af0d867c7ab72b0ccf8cb9011771
Comment 15 Lamarque V. Souza 2012-03-31 17:27:46 UTC
Git commit 43b05d53caa0f382dcf88e6e9ec9d2b9d7c4fdae by Lamarque V. Souza.
Committed on 31/03/2012 at 19:25.
Pushed by lvsouza into branch 'master'.

Remember current desktop when changing activity.
Thanks to makis marimpis for this patch.

REVIEW: 104261

M  +9    -0    service/ActivityManager.cpp
M  +5    -0    service/ActivityManager_Basics.cpp
M  +1    -0    service/ActivityManager_p.h

http://commits.kde.org/kactivities/43b05d53caa0f382dcf88e6e9ec9d2b9d7c4fdae
Comment 16 Michael D 2016-07-11 08:56:41 UTC
I don't know if this used to work, but it doesn't work anymore in Plasma 5.7 (Qt 5.7). If I am in activity 1 on virtual desktop 1, and switch to activity 2 on desktop 1, and then move over to desktop 2 on activity 2, and then switch back to activity 1, I end up on desktop 2 rather than 1. The transition looks like this: A1/D1 --> A2/D1 --> A2/D2 --> A1/D2

I suppose this bug should be reopened.
Comment 17 Alexandre Pereira 2016-07-11 10:54:12 UTC
Michael D: Don't think so ... its working here ( gentoo ) with plasma 5.7, qt 5.7 and frameworks 5.24
Comment 18 Michael D 2016-07-11 12:22:29 UTC
I see. Must be a bug with my distro's packaging. I'm running kde neon developer edition (git stable). I'll file a bug there.