Issue 49670 - clicking arrow buttons in font dropdownlist scrolls too much at first time
Summary: clicking arrow buttons in font dropdownlist scrolls too much at first time
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 680m104
Hardware: PC Windows XP
: P5 (lowest) Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo
: 82749 (view as issue list)
Depends on:
Reported: 2005-05-22 12:30 UTC by
Modified: 2017-05-20 11:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

screen capture to show font list scroll issue (147.54 KB, video/x-ms-wmv)
2005-05-22 20:38 UTC,
no flags Details
a screen capture that shows incorrect behavior of font list in m180 (230.70 KB, application/octet-stream)
2006-08-28 15:50 UTC,
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description 2005-05-22 12:30:35 UTC
When I clicked arrow buttons in font dropdownlist at first time, the list was
scrolled too much. After that, it worked as expected until I closed OO.o.

Steps to reproduce.

1. Open writer.
2. Expand font dropdownlist in toolbar.
3. Click arrow-up button.
4. Confirm that the list is scrolled to much.
5. Close font dropdownlist by clicking outside of the list.
6. Expand font dropdownlist in toolbar.
7. Click arrow-up button.
8. Confirm that the list is scrolled as expected.
Comment 1 khirano 2005-05-22 12:52:31 UTC
Is it m104 with Korean language pack installed?
What font name do you see in the box (of the dropdown list) on the tool bar when
you start Writer?
Comment 2 2005-05-22 20:38:43 UTC
Created attachment 26425 [details]
screen capture to show font list scroll issue
Comment 3 2005-05-22 20:39:55 UTC
I tested this with several installations - Korean UI with language pack, English
UI with language pack, without language pack. And, this happens every case.

To show it clearly, I captured screenshot. Please check attached screen capture
if you have Windows Media Player. (Execuse me for using wmv. That is the easiest
way for me to caputer the screenshot :-))
Comment 4 thorsten.martens 2005-06-30 15:08:52 UTC
TM->MRU: Please have a look, thanks !
Comment 5 michael.ruess 2005-07-01 08:43:26 UTC
Reassigned to US.
Comment 6 ulf.stroehler 2005-07-26 11:44:33 UTC
set target.
Comment 7 ulf.stroehler 2006-04-04 13:47:36 UTC
reassigned to es.
Comment 8 eric.savary 2006-05-17 16:41:33 UTC
->jeongkyu: can you still reproduce this in the current 2.0.2?
Comment 9 2006-05-18 00:30:20 UTC
-> es : I tested it with 2.0.2 and found that this was fixed. Let me mark it as
Comment 10 2006-05-18 00:31:13 UTC
Comment 11 eric.savary 2006-05-18 08:49:27 UTC
Thax for take some of your time check this again :)
Comment 12 2006-06-17 23:45:59 UTC
es: Execuse me for reopening this, but my previous test was wrong. This issue is
still reproducible.

Since my last test, I sometimes experienced this issue again. My further
research revealed some interesting fact.

I currently have 183 fonts in my dropdownlist and it is ok until 101th font.
When one of those fonts is initially selected, the list is scrolled by one line
with clicking up-arrow button. This is expected behavior. However, when 102th
font is selected, the list is scrolled by two lines. And when 103th font is
initial, the list is scrolled by three lines, etc. So, there is a problem with
Times New Roman(161th) but no problem with Arial(3rd), which made me draw
incorrect conclusion.

Another interesting fact is that this problem happens only with first-time
clicking arrow since font dropdownlist is initialized. So, it is hard to notice
in font dropdownlist in toolbar. However, problem comes to very clear with font
dropdownlist in dialogs.

Please try below steps to reproduce this issue.

1. Open Writer.
2. Open Stylist (F11).
3. Right click on 'Default' style and choose Modify.
4. Go to 'Font' tab and select 'Arial' for font.
5. Click OK.

6. Right click on 'Default' style and choose Modify.
   (Now, initially selected font is Arial)
7. Expand font dropdownlist
8. Make sure that the scroll indicator is in correct position.
9. Click up-arrow button in scrool bar.
10. Make sure that the list is scrolled by one line.

11. Select 'Times New Roman' for font.
12. Click OK.

13. Right click on 'Default' style and choose Modify. 
    (Now, initially selected font is Times New Roman)
14. Expand font dropdownlist
15. Confirm that the scroll indicator is in wrong position.
16. Click up-arrow button in scrool bar.
17. Confirm that the list is scrolled by too many lines.

If you have a chance, please find your 102th font in the list and try same
thing. :-)
Comment 13 eric.savary 2006-08-28 15:05:05 UTC
Still cannot reproduce it in a m178.
Even if I set "Tools - Options - Language Settings - Asian Languages" (to be
able to *expand* a listbix in the Format dialog), the vertical scrollbar always
scrolls of one entry for any font.
Comment 14 eric.savary 2006-08-28 15:16:31 UTC
Comment 15 2006-08-28 15:50:10 UTC
Created attachment 38818 [details]
a screen capture that shows incorrect behavior of font list in m180
Comment 16 2006-08-28 15:52:42 UTC
jeongkyu -> es: Please have a look at my new screen capture. It was taken from
m180 in which font list still shows incorrect behavior.

Comment 17 2006-08-28 15:56:47 UTC
I am also able to reproduce this behavior in OO.o 2.0.2 in Ubuntu Dapper.
Comment 18 eric.savary 2006-08-31 13:49:53 UTC
God news: HDU and OS can reproduce it!
Bad new: I still cannot.
Reassigned to HDU
Comment 19 2006-11-29 09:36:51 UTC
Comment 20 2006-12-02 04:32:45 UTC
jeongkyu -> hdu: Thanks for taking care of this issue. :-)
Comment 21 Joe Smith 2007-01-20 23:33:02 UTC
I can reproduce this in 2.1.0 on Linux. I was about to enter a new issue until I
made one more search and found this one ;-)

Here is what I was about to report, although it doesn't add too much new:

1. File > New > Text document
2. Right click > Edit paragraph style
3. Font tab; click the dropdown arrow on the font combo.
   The drop down list is scrolled to show the current font
   setting as the top entry.
4. Scroll the font list by clicking on the scrollbar up arrow.
   The font list jumps to a completely different position unrelated
   to the current setting.

I agree: this only happens when there is a long list of fonts and the currently
selected font (the dropdown initial position) is past a certain point in the
list. I have about 400 entries in the font list.

To see the correct operation, close the dialog and repeat the above steps.
Instead of using the scrollbar to scroll the list, use the UP-ARROW cursor key.
Note how the scroll bar handle jumps to a new position.

Once the scrollbar handle has sync'ed up like this, it will be correct for as
long as the dialog is open.

Every font list dropdown in the entire suite behaves this way, so it may be a
problem in the widget itself.
Comment 22 michael.ruess 2010-02-02 14:37:48 UTC
*** Issue 82749 has been marked as a duplicate of this issue. ***
Comment 23 Rainer Bielefeld 2010-02-02 15:00:37 UTC
Issue 82749, jeongkyu's movie and comments from jeongkyu Sat Jun 17 22:45:59
+0000 2006 are concerning problems in the Format Character dialog, what behaves
completely different from Toolbar dropdown list. If I don't misunderstand, the
original report is concerning a problem with Toolbar dropdown  - what ever that
might mean. I hope the Format Character dialog will be fixed soon.
Comment 24 Marcus 2017-05-20 11:30:06 UTC
Reset assigne to the default "".