GNOME Bugzilla – Bug 75815
(panel Crash at 65.184.161.37)
Last modified: 2015-09-02 02:49:25 UTC
Package: panel Version: 1.4.0.6 Severity: >Synopsis: >Class: sw-bug System: >Description: >How-To-Repeat: ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-03-21 18:24 ------- The original reporter (minhtruong99@yahoo.com) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, panel-maint@bugzilla.gnome.org.
*** This bug has been marked as a duplicate of 69333 ***
Created attachment 310437 [details] [review] GtkTextView: various scroll fixes The purpose of this patch is to fix regressions in GtkTextView scroll behaviours due to commit d138156. ( addition of padding and margins to the view ) Adding some padding is done by, for example, in inspector css tab with: GtkTextView { padding: 10px 10px 10px 10px; } and adding margins, by changing one of *-margin properties ( * standing for left/right/top/bottom ) or the corresponding accessor functions. Understand that none of these bugs are easy to trigger. What's happened is that a old and wrong version of the code of the code ( lost in the mean time ) was pushed. These bugs are best seen with wrap mode set to off. The commit 8baab8f fix a first regression. This one is about: - Cursor going out of the view at line ends instead of being visible or triggering the horizontal scroll. - Padding not displayed correctly when moving cursor at beginning/end of lines - When horizontal scroll position not at left, cursor can make scroll by more than one character (you need left padding to see this ) - Moving the cursor arround, the rendered text can be shitted in x or y. ( fixed by converting adjustment float values to integer before calculations ) It can be observed by going down with the cursor more than the view height then going up - retval return value of _gtk_text_view_scroll_to_iter wrong in some cases In addition, this patch re-factor priv->top_border in screen_dest.y calculation Of course, all GtkTextView and GtkSourceView based app were impacted by these bugs ( gedit for example, see bug 754147 ) https://bugzilla.gnome.org/show_bug.cgi?id=753815
warning: sorry, wrong attachment bug report
Comment on attachment 310437 [details] [review] GtkTextView: various scroll fixes Attachment 310437 [details] pushed as 9ad6ac0 - GtkTextView: various scroll fixes