This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Move window with just a mousebutton.

Tags: None
(comma "," separated)
smedvek
Registered Member
Posts
2
Karma
0
OS
I would like to move windows around by clicking anywhere in them with a mousebutton. I know I can hold ALT+Mouse1 to move them around (or, obviously, click on the titlebar).

Currently I use fluxbox, and I can just do this:
OnWindow Mouse9 :StartMoving

I'd really like to use KDE, but this is crucial to me.

Any hope for me? (I've also tried using btnx to map button9 to ALT+Mouse1, but it just seems to pass the ALT through to the app beneath it. For example, it highlights text in 'box' mode in a terminal, instead of moving the entire window)
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS
Unfortunately, this wish was filed back in 2001 :(
Apparently, it's a limitation in Qt.

https://bugs.kde.org/34362

The last comment says that there's a workaround with xbindkeys, but I haven't tried it.


Get problems solved faster - get reply notifications through Jabber!
smedvek
Registered Member
Posts
2
Karma
0
OS
Thank you for the reply!

That's a big dissapointment for me.
It's difficult for me to grab at titlebars all the time (my hands are shakey) unless they're giant, it's difficult for me to press a key and use the mouse at the same time. (sticky keys helps, thank god)

It doesn't make sense that it's a limitation of Qt, though.

In fluxbox, I can run a Qt app, and move the window around with one of the extra button on my mice just fine. No problems. It seems to me to just be a very simple limitation in kwin that they have no plans to ever fix.

As I mentioned, also, I can bind my mouse buttons to key events, but for whatever reason, having it map ALT+Mouse1 to a button makes the keypress slip past the window-move situation and just passes an ALT+Click to the app. If it IS a limitation in Qt (despite my example of how I doubt it is) they've had 8 years to do something about it.

Accessibility is important to me.
User avatar
Alec
Registered Member
Posts
565
Karma
1
OS
You might want to post that comment to the bug. After all, the more people complain, the more likely someone is going to come forward with a fix, especially considering that you have a genuine reason for why you need this feature.


Get problems solved faster - get reply notifications through Jabber!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Note that the reason that this is only a problem in KDE is because KDE uses KWin as its window manager and KWin is written in Qt.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
annew
Manager
Posts
1155
Karma
11
OS
@smedvek
That's a big dissapointment for me.
It's difficult for me to grab at titlebars all the time (my hands are shakey) unless they're giant, it's difficult for me to press a key and use the mouse at the same time. (sticky keys helps, thank god)


You might find it helpful to right-click on the titlebar and select Configure Window Behaviour. The go to the Move section and experiment with Snap Zones


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org
User avatar
FRUiT
Registered Member
Posts
5
Karma
0
OS
In the bespin style's configuration pannel, there's a "Allow easy window dragging by clicking empty spaces" option.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell