Bug 89558 - Mouse and keyboard file selection don't match
Summary: Mouse and keyboard file selection don't match
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-15 12:21 UTC by Hugo Costelha
Modified: 2008-05-21 10:05 UTC (History)
1 user (show)

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 Hugo Costelha 2004-09-15 12:21:01 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs
OS:                Linux

Open konqueror in a folder with several files. After you have it open, by default the first item is selected (which is normal). If for instance you press F2 you rename the first file. Now with the mouse select another file. Strangely, if you now press F2 you still rename the first file and not the file you selected with the mouse. This worked well on KDE 3.2.
Comment 1 Daniel Frein 2004-09-15 13:27:12 UTC
I observed the same (debian sid, kde-3.3.0). the first entry in konqueror (file mode) is usually selected (dotted line around the file name). Selecting single/multiple files with the mouse by drawing a rectangular selection selects the files in the selection by changing the color in the background of the filename, but the dotted line around the filename stays at the first entry. Some operations now act on the mouse selection, others on the keyboard selction (dotted line around): pressing "F2" renames the file with the dotted line around, but pressing "del" deletes the file with the highlighted background. This behavior is very reproducible. Selecting files on the desktop shows the same bug. Hope that someone can fix this before 3.3.1.
Comment 2 Miguel De Anda 2004-09-25 21:17:40 UTC
I just deleted (by accident) a file with the dotted line around it. I used the keyboard arrows to go down to the last file, hit shift-delete (got annoyed by the overwrite other deleted file with the same name message) and I lost a file that I didn't want to lose. Now I gotta look for a way to undelete files on an ext3 filesystem.
Comment 3 Pascal Létourneau 2004-09-30 23:57:15 UTC
Fixed in 3.3.1
Comment 4 Hugo Costelha 2004-10-14 11:53:10 UTC
Hi, I have just updated to KDE 3.3.1 using SuSE's rpms, and although the behaviour is better (not the same as before), it is not yet right (I think?). Althought using, for instance, F2 in the example given earlier now renames the file last selected we still have the following behaviour: no matter what file we select with the mouse, if we press the arrow keys, the next selected file doesn't have nothing to do with the last selection.
Comment 5 Hugo Costelha 2005-01-20 16:09:25 UTC
Just tested with KDE 3.3.91 (beta1) and still this behaviour.
Comment 6 Marijn Schouten 2006-04-18 20:05:57 UTC
confirmed on 3.5.2
Comment 7 lexual 2006-08-30 00:37:53 UTC
unable to reproduce in 3.5.4
Which view is being used?
Comment 8 Hugo Costelha 2006-08-30 12:10:51 UTC
I am using the default view, when you see icons and file contents, I think it calls Icon View.

I am using KDE 3.5.4 and still it does not work.

It is very simple to test, just open a folder with a few files, select one with the mouse and press (for instance) the right arrow. The file that will be selected will not be the file right to the one selected with the mouse, but the second file displayed in the first row (counting from left to right).
Comment 9 Louai Al-Khanji 2006-08-30 15:26:09 UTC
Running KDE 3.5.4, Kubuntu Dapper

The behavior is still not perfect.

To test yourself, do this: using keyboard arrow keys select a file. Now select one using the mouse (I have single click turned on so I used the rubber band). Press any arrow key and you will see that konqueror remembers the original keyboard selection, and does not honor the mouse selection.

Comment 10 lostson 2006-08-30 15:54:50 UTC
I can confirm this as well, tested it on bug day!!
Comment 11 Stefan Monov 2006-08-30 22:55:13 UTC
I can reproduce this with KDE 3.5.4 on SUSE Linux 10.1.
From the bundled views, it occurs with the following: Tree, Info List, Detailed, Text.

Re: Comment #9
I can reproduce this, too.
Comment 12 Wiebe Cazemier 2006-12-17 12:32:07 UTC
I can confirm this too, on KDE 3.5.5 (with detailed list view). In my opinion, the dotted selection should be removed, it only introduces confusion. Not only to the user, but to the developers as well, as it keeps introducing bugs. I would say, why make it difficult on yourself? One selection method is enough. 

As an example of wrong behaviour I have now; enter-key and F2 work on the dotted file, but shift-delete on the "normally highlighted" one. When working through a bunch of files with the keyboard, you can accidently delete the wrong files. This what Miguel de Anda described above, but his behaviour was a bit different.
Comment 13 Jaime Torres 2008-05-21 10:05:10 UTC
It works in kde 4.0.73 and kde 4.0.3.