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 742166 - Unnecessary horizontal scrolling when searching
Unnecessary horizontal scrolling when searching
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: editor
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-31 21:30 UTC by Michael Catanzaro
Modified: 2014-12-31 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of unwanted horizontal scrolling (442.64 KB, application/octet-stream)
2014-12-31 21:30 UTC, Michael Catanzaro
  Details
GbEditorFrame: only scroll to iter on search if it is not visible (2.19 KB, patch)
2014-12-31 23:08 UTC, Christian Hergert
committed Details | Review

Description Michael Catanzaro 2014-12-31 21:30:01 UTC
Created attachment 293531 [details]
screenshot of unwanted horizontal scrolling

After last night's changes to searching, the search can cause the editor to automatically scroll horizontally. This makes sense when there is a search result that would not otherwise be visible at all, but otherwise it's annoying (especially when there is no search result at all, as in the attached screencast). This seems to be affected by the horizontal position of the cursor prior to executing the search.
Comment 1 Christian Hergert 2014-12-31 23:08:56 UTC
Created attachment 293533 [details] [review]
GbEditorFrame: only scroll to iter on search if it is not visible
Comment 2 Christian Hergert 2014-12-31 23:09:11 UTC
Attachment 293533 [details] pushed as 2221d9e - GbEditorFrame: only scroll to iter on search if it is not visible