Bug 16754 - IAA.ChangeUserSim: Popup Window's Size Is Incorrect
Summary: IAA.ChangeUserSim: Popup Window's Size Is Incorrect
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: pre-0.18
Assignee: Thomas Fitzsimmons
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 00:39 UTC by djee
Modified: 2005-10-16 01:53 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2004-07-27 01:52:04


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description djee 2004-05-18 16:46:36 UTC
In the Acunia test suite, in IAA.ChangeUserSim test, when you click on
a user name, a window will popup with the selected user name and an
"OK" button.  However, the window's size is wrong, since the button
doesn't fit completely inside the window.

This could be a font size problem.
Comment 1 Thomas Fitzsimmons 2004-05-25 14:31:55 UTC
Yes, this is most likely a font size problem.  In fact, there are
problems all through our AWT implementation with font sizes.  We'd
been assuming that Pango works with pixel sizes; instead, it works
with point sizes, so the DPI of the monitor must be factored into
(pixel-based) AWT size requests.

I have a patch for this -- it's at home with my AWT 1.0 event model
work -- that I'll check in later.
Comment 2 Thomas Fitzsimmons 2004-07-27 01:52:35 UTC
Fixed on java-gui-branch.