[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 199729] Enabling "different activities for each desktop"
From:       Miha Čančula  <miha.cancula () gmail ! com>
Date:       2009-10-23 22:12:59
Message-ID: 20091023221300.0E10224346 () immanuel ! kde ! org
[Download RAW message or body]

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





--- Comment #26 from Miha Čančula <miha cancula gmail com>  2009-10-24 00:12:49 ---
I've tested this bug further (and even looked through the code), and here are
some more details. This is KDE 4.3.2 on Arch x64.


1. When I increase the number of desktops in SystemSettings, new activities are
created instantly.
2. When I decrease the number of desktops, nothing changes. Even after
disabling and re-enabling perDesktopViews, if I have more activities than
desktops, nothing happens.

I tried another thing: create several activities with perDesktopViews disabled,
delete the first activity, then enable perDesktopViews. It created the correct
number of activities, however it created an extra one upon restart.

Now I'm not into plasma development, but I suspect
PlasmaApp::PlasmaApp::checkVirtualDesktopViews() and
DesktopCorona::checkScreens() arent doing what they're supposed to. When
perDesktopViews is disabled, the first activity gets desktop set to -1, KWin
counts desktops from 1 to N, and checkVirtualDesktopViews() only deletes what
KWin reports minus one, so from 0 to N-1. The (-1) activity gets through. 

Note that I didn't have time to compile trunk with that change to test it, so I
may be very wrong.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic