Selecting a file in the Source Tree project section is jarring

Bug #1198877 reported by Kazade
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Low
Unassigned

Bug Description

To recreate, open a file inside a project under version control, and then in the Source Tree pane, expand the "Project" section and choose another file.

What happens is the file you click appears under "Files" and that new entry becomes selected. This makes the Source Tree pane scroll to the top. There are two problems here:

1. The entry you clicked is not selected, instead a copy of the entry is selected under files. The user did not select that entry and making it the selected one is confusing.
2. The instant scroll to the top leaves you unsure about what just happened

Suggestion: Select the clicked entry, and don't scroll to the new duplicate entry under "Files". This will still be a little jarring as a new entry will be added to the "Files" section and will move the "Project" section downward a little.

Slick suggestion: Do as above, but animate the insertion of the new entry under "Files" so that the new entry expands into existence and all entries below it move down gradually rather than instantly.

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

1. The item should not be selected under project tree as this selection is like a tab system and should work only for Files tree.
2. Yeah, this instant scroll should not happen.

Changed in scratch:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 2.1
Revision history for this message
Kazade (kazade) wrote :

Regarding 1. I thought that, but then you can switch to the file by selecting its entry either in the Files list, or under the Project section which is why I thought it would be less confusing for the user if the entry they clicked just became highlighted.

Changed in scratch:
milestone: 2.0.1 → 2.1
Cody Garver (codygarver)
Changed in scratch:
milestone: isis-beta1 → isis-beta2
Changed in scratch:
milestone: freya-beta2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.