GNOME Bugzilla – Bug 517188
not all characters shown / missing scrollbar
Last modified: 2008-03-31 11:43:01 UTC
Steps to reproduce: 1) Open gucharmap, select a fairly small script/block (for example, Basic Latin) and reduce the font size or increase the window size until all the characters in that script/block are visible without scrolling. The scroll bar should disappear. 2) Select a character near the bottom (for example, one of the lowercase letters in Basic Latin) 3) Close gucharmap 4) Re-open gucharmap. Your selected character will be in the top row. But the scrollbar is missing, so you can't see the characters above the selected character without using the keyboard to move the selection. Apologies if that description doesn't make sense... Just try it out and you'll see the problem :)
Same bug (I think): 1) Open gucharmap, select a fairly small script/block (for example, Basic Latin) 2) Select a character near the bottom 3) Start reducing font size 4) Observe the scroll bar going nuts, and the selected character stays right at the top, even if more rows could be displayed above it 5) Click on the scrollbar, and then the scrollbar and character table will be displayed correctly.
Created attachment 106665 [details] [review] patch to svn trunk Attached patch seems to work without any obvious regressions.
Looks ok to me.
+ if (new_first_cell < 0) new_first_cell = 0; Split that into on 2 lines please. ok to commit to trunk and (if it applies there) to 2-22.
Created attachment 107874 [details] [review] updated to HEAD
Created attachment 107876 [details] [review] fixed stupid compile error Grr... I thought I checked this before uploading. Apologies.
Fixed in svn trunk; thanks for the patch!