After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787670 - Side panel selection doesn't change after changing file
Side panel selection doesn't change after changing file
Status: RESOLVED OBSOLETE
Product: gnome-builder
Classification: Other
Component: general
Flatpak Nightly Channel
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-14 11:46 UTC by Carlos Soriano
Modified: 2018-01-11 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Carlos Soriano 2017-09-14 11:46:40 UTC
The side panel with the source tree doesn't change the selection when the file being edited changes for other methods (the quick file selector in the upper bar for example).

This gives the impression you are editing a different file than the selected in the sidebar, which in my case has caused some unwanted editions already.

what should happen is that the selected file in the sidebar source tree browser should be the same as the file opened or focused in the editor.
Comment 1 sébastien lafargue 2017-09-14 12:09:10 UTC
Not sure at all about that, i can list you plenty of cases where the focused file in the view is not the one selected in the project tree,
for example all contextual menu actions on another project tree file.
Comment 2 Carlos Soriano 2017-09-14 12:16:09 UTC
Ah right, that makes the problem more severe I guess. An option would be to not have selected state at all.
Comment 3 sébastien lafargue 2017-09-14 12:29:13 UTC
but then problems like keyboard navigation when the project tree is focused and reveal in project tree (in the view contextual menu) arise.
Comment 4 Carlos Soriano 2017-09-14 12:56:46 UTC
After a bit of discussion on IRC, Sebastien proposes:
"no selection except when the project tree is focused and a special animation for reveal action" which sounds quite good.

Something to discuss with designers.
Comment 5 GNOME Infrastructure Team 2018-01-11 10:40:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/282.