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

List:       kde-bugs-dist
Subject:    [Bug 221997] Right click on title bar does not respect drag distance
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-01-10 17:55:06
Message-ID: 20100110175506.9C4912F52D () immanuel ! kde ! org
[Download RAW message or body]

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


Hugo Pereira Da Costa <hugo.pereira@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #6 from Hugo Pereira Da Costa <hugo pereira free fr>  2010-01-10 18:55:05 ---
oops. Pressed return too quick. Ignore Comment 5.
On comment 4: 
I see there is an issue but I'm not sure I understand your point
1/ to me dragging (with middle-click) a tab does wait for some drag distance
before starting. (and there is explicit code for that in oxygen as well as
tabstrip
2/ with left click: as soon as (and this is bad I think) you move the mouse
with left-button down, the window moves. Is that also your observation ? 
If yes I'll see if I can change it, but it might be lower level in kwin.

The issue is that left-click can either change tab or move window. I looked at
how this is done in e.g. Dolphin tabs: where left-click has the same 2
purposes: change tab and drag tab.

What happens is that as soon as you press the left button, the tab is changed,
no matter what. Then drag distance is respected to start dragging the tab.
This is Qt defaults. 
Is this the kind of behavior we want ?

I don't think we can add a dragDistance on left-press + move, because kwin
never had that when starting to move windows. Many users might find it a
regression and complain about moving windows being slow (Lucas ?).

So the only fix I can see (which would be consistent with Qt) is to switch tab
on left-button press, no matter what. (but that obviously has other issues).

-- 
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