Issue 94932 - Buttons in spellcheck windows are mis-aligned.
Summary: Buttons in spellcheck windows are mis-aligned.
Alias: None
Product: General
Classification: Code
Component: spell checking (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: Unknown Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needmoreinfo
Depends on:
Reported: 2008-10-15 06:53 UTC by vuhung16plus
Modified: 2013-02-24 20:43 UTC (History)
6 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description vuhung16plus 2008-10-15 06:53:59 UTC
Buttons in spellcheck windows are mis-aligned.

Windows XP JP, SP2, OOo 3.0 English.

Start a writer documentation, press F7.

Comment 1 Mathias_Bauer 2008-10-31 17:55:14 UTC
Stefan, please have a look. If you can confirm that, it should be a low hanging
fruit and we should give it a recent target.
Comment 2 stefan.baltzer 2008-11-03 09:22:15 UTC
SBA: I can not reproduce this. Toying with "Tools - Options - OOo - View" ->
Zoom (i.e. to 80%) doe snot help.
What I can see from the screenshot is
 - Windows XP Theme "Classic" is used.
 - The UI font is different from mine (see letter "g")
-> maybe the dialog calculates its size based on "bad" font metrics?

SBA->vuhung: Please help us researching this problem?
 - Are other dialogs affected, too?
 - What happens when you change the UI font (Tools-Options - OOo - View) (unceck
"use system font")?
 - What happens when you change the Zoom factor (Tools-Options - OOo - View)?
Comment 3 stefan.baltzer 2008-11-03 10:15:11 UTC
SBA: Spoke to PB. He told me that PL might give a hint. Put PL on c/c.
Comment 4 philipp.lohmann 2008-11-03 10:35:52 UTC
If the font height were bad as such, I would expect all the other controls to be
off, too, since we use app font relative metrics to design the dialogs. However
it seems just the buttons at the bottom are off.

@pb: Is there some kind of layout algorithm involved ? If yes, how does it work ?
Comment 5 pb 2008-11-03 11:16:43 UTC
pb: yes, there is code to hide the checkbox ("Check grammar") below the
suggestions listbox: hide checkbox -> resize groupbox -> move buttons. Perhaps
here is the problem. This is implemented by Oliver (os) and Thomas (tl).
Comment 6 vuhung16plus 2008-11-04 02:55:59 UTC
Thanks for all who has replied. Unfortunately, at the moment I have no time to
look into the code. But I will do if I have.
Comment 7 Mathias_Bauer 2010-05-17 16:19:02 UTC
at least we should change the status as sba already confirmed that issue
Comment 8 thomas.lange 2010-05-18 08:02:07 UTC
tl->sba: Some days ago when this issue showed up I told OS how to reproduce it.
Unfortunately, right now I can't remember anymore. I'll ask OS if he still knows
or try to remember myself.
But it has nothing to do with view/UI settings and the like. It was
reproduce-able just with a specific sort of text and the following user actions
in the dialog. It had to do with the last error in the sentence, maybe even that
one was required to be in the last word of the sentence...