Opened 15 years ago

Closed 15 years ago

#4120 closed bug (fixed)

Selection weirdness in list views

Reported by: humdinger Owned by: anevilyak
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev31560.

I originally reported these two (related?) bugs to ArmyKnifes bugtracker:

Jonas discovered the same issues with DataTranslations and FileTypes preferences, it's also seen in ScreenSaver and Sounds:

If you select all items in a list with ALT+A right/left clicking or ALT+left clicking into the list has weird effects.

Also, selecting more items via SHIFT+CursorUP/DOWN doesn't work as expected:

  1. Select an entry in the middle.
  2. Hold down SHIFT and move down with CURSOR-DOWN twice

--> 3 entries are selected.

  1. Keep holding SHIFT and move one up with CURSOR-UP

--> The last selected entry should get unselected, but isn't.

(The actual ArmyKnife bug is a bit different, but maybe related, see bug 283 linked above.)

Change History (6)

comment:1 by anevilyak, 15 years ago

Owner: changed from axeld to anevilyak

I'm almost certainly to blame for that one...will look into it.

comment:2 by stippi, 15 years ago

Shame on me for not reporting this myself, but I've seen this for ages in WonderBrush, that must have been way earlier than your BListView refactoring and fixes. IIRC, BListView caches the first and last selected index. It's most likely something to do with that.

in reply to:  2 comment:3 by anevilyak, 15 years ago

Replying to stippi:

Shame on me for not reporting this myself, but I've seen this for ages in WonderBrush, that must have been way earlier than your BListView refactoring and fixes.

Will deal with it regardless, I'm at least quite familiar with BListView's code at this point :) Thanks for the heads up in any event.

comment:4 by anevilyak, 15 years ago

Status: newassigned

The first problem is mostly due to allowing alt+a to have an effect in a list view that's in single selection mode in the first place (i.e. Data Translations / File Types). Investigating the second.

comment:5 by anevilyak, 15 years ago

The Alt+a + select problem should be fixed in hrev31889. Those particular views should not have been accepting select all in the first place since they were in single selection mode, and as such the view wasn't in the correct mode to update the indices for multiple selections properly.

comment:6 by anevilyak, 15 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in hrev31890.

Note: See TracTickets for help on using tickets.