Bug 44084 - usability problem with RMB menu and text selection
Summary: usability problem with RMB menu and text selection
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Other
: NOR normal
Target Milestone: ---
Assignee: Kate Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-19 00:48 UTC by Daniel Naber
Modified: 2003-02-28 23:54 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 Daniel Naber 2002-06-19 00:47:01 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kate
Version:           KDE 3.0.5 CVS/CVSup/Snapshot
Severity:          normal
Installed from:    Compiled sources
Compiler:          Not Specified
OS:                Not Specified
OS/Compiler notes: Not Specified

Select two words with the mouse starting on the left. Release the left mouse button and press the right mouse button. Bug: the selection will be lost. you have to move a bit to the left (over the selection) with the mouse pointer before you click the right mosue button so that the selection will not be lost.


(Submitted via bugs.kde.org)
Comment 1 Anders Lund 2002-11-24 19:42:44 UTC
Judging from the code, it looks like this behaviour is intended.   
  
The options are:   
a) leave as is  
b) don't check if the cursor is inside the selected area and just popup the rmb menu  
c) check if the cursor is "near the selection" (like no more than the height on a line or width of 
one or two chars away). 
 
What should we do? 
Comment 2 Christoph Cullmann 2002-11-24 23:35:40 UTC
we chosen b), as most compliant to all other kde editors and qt widgets 
Comment 3 Anders Lund 2002-11-24 23:39:20 UTC
(we ended with b), since that is similar to other kde editors (kedit, kword)) 
Comment 4 John Firebaugh 2003-02-28 23:54:14 UTC
Actually, b) is the worst solution, as it results in much worse usability problems. For 
example, see bug #55279. Right-clicking is a contextual action; it should always refer to 
the object clicked on, not what is selected somewhere else. If you want to take an action 
on the selection, you should have to click on the selection. For these reasons, I'm going 
to revert to the old behavior. I don't believe the above description constitutes a bug.