(*** This bug was imported into bugs.kde.org ***) Package: kdesktop Version: KDE 2.2.0 Severity: normal Installed from: SuSE RPMs Compiler: Not Specified OS: Not Specified OS/Compiler notes: Not Specified Electric borders (switching to another virtual desktop by moving the mouse pointer towards the according border) isn't currently working in KDE 2.x Thanks. (Submitted via bugs.kde.org)
On Mercredi 26 Septembre 2001 11:33 axel_groll@web.de wrote: > Package: kdesktop > Version: KDE 2.2.0 > Severity: normal > Installed from: SuSE RPMs > Compiler: Not Specified > OS: Not Specified > OS/Compiler notes: Not Specified > > Electric borders (switching to another virtual desktop by moving the mouse pointer towards the according border) isn't currently working in KDE 2.x But it's been redone for 3.x and is working in CVS. -- David FAURE david@mandrakesoft.com faure@kde.org http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/ KDE Making The Future of Computing Available Today
I just compiled the KDE 3.2.2. Immediatelly I have found a bug: When trying to set "Active Desktop Borders" to "Only when moving windows" it does not work, except in the direction "up". It starts working if I first set "Always enabled" option and then switch back to "Only when moving windows". The solution is to create a method: void Workspace::initBorderWindowsState() { QRect r = QApplication::desktop()->geometry(); electricTop = r.top(); electricBottom = r.bottom(); electricLeft = r.left(); electricRight = r.right(); } and call it as the first thing in void Workspace::init() Namely, in case of 'Options::ElectricMoveOnly' the above initialization never takes place (except for 'up', where it is zero, I suppose). Bye, Stane.
-> kwin
*** This bug has been marked as a duplicate of 79252 ***