Bug 32964 - Electric borders (mouse desktop switching) not working anymore
Summary: Electric borders (mouse desktop switching) not working anymore
Status: RESOLVED DUPLICATE of bug 79252
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Other
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-26 09:48 UTC by Axel Groll
Modified: 2004-06-08 11:27 UTC (History)
0 users

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 Axel Groll 2001-09-26 09:33:05 UTC
(*** 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)
Comment 1 David Faure 2001-09-26 10:51:45 UTC
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
Comment 2 stanislav.gruden 2004-06-07 21:12:47 UTC
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.
Comment 3 David Faure 2004-06-07 21:20:49 UTC
-> kwin
Comment 4 Lubos Lunak 2004-06-08 11:27:09 UTC

*** This bug has been marked as a duplicate of 79252 ***