Bug 115688 - [Dialogs] Message Boxes not resized properly for large fonts, high contrast settings
Summary: [Dialogs] Message Boxes not resized properly for large fonts, high contrast s...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2005-11-09 14:41 EST by Patrick Friel CLA
Modified: 2006-05-03 13:37 EDT (History)
5 users (show)

See Also:


Attachments
screen shot of dialog with large fonts - no problem observed (28.87 KB, image/jpeg)
2006-04-13 21:25 EDT, Susan McCourt CLA
no flags Details
Screenshot of the problem (84.02 KB, image/jpeg)
2006-04-26 12:03 EDT, Patrick Friel CLA
no flags Details
snippet to recreate the dialog (468 bytes, text/plain)
2006-04-26 14:20 EDT, Susan McCourt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Friel CLA 2005-11-09 14:41:22 EST
Set the system settings for large fonts, high contrast for low visibility 
accessibility. MessageBoxes do not show on the screen properly with these 
settings. It appears that the message box window is fully on the screen as the 
X button to close the window is visible at the upper right corner, but the 
contents of the message box dialog are being cut off. With a large amount of 
text for the message (text needs to wrap more than one line) some of the text 
and buttons are not completely visible on the right side. 

The message box that we see it with is a Yes/No message box with the text:
"Apply an existing style will replace any changes you may have made to 
customize the selected element with the style's format settings.
Are you sure you want to do this?"
Comment 1 Patrick Friel CLA 2006-01-10 12:56:22 EST
We'd like this to be fixed for 3.2 if possible.
Comment 2 Susan McCourt CLA 2006-01-10 15:52:20 EST
Setting milestone to 3.2 M6 for investigation (so it doesn't slip through the cracks...)
Comment 3 Susan McCourt CLA 2006-03-28 12:06:54 EST
moving dialog bugs to 3.2 milestone.  Will move to individual milestones (RCx) as they are worked on
Comment 4 Susan McCourt CLA 2006-04-13 21:20:57 EDT
I tried to replicate this with extra large fonts on Windows XP and low screen res (800 x 600), and still could not get it to happen.  I am going to need a screen snap of the problem along with information about the screen resolution and the Windows Theme being used.  I used 
"Windows XP Style" buttons with
"Extra Large Fonts" and
"Silver" color scheme.  (I assume that color scheme is not the issue since it's a sizing problem).

I'll attach a screen snap of what I saw
Comment 5 Susan McCourt CLA 2006-04-13 21:25:05 EDT
Created attachment 38570 [details]
screen shot of dialog with large fonts - no problem observed
Comment 6 Susan McCourt CLA 2006-04-21 14:55:37 EDT
Still awaiting info from bug reporter.  Note that we are running out of runway for RC2 and it will be increasingly difficult to approve fixes after RC2.

cc'ing McQ for FYI.
Comment 7 Patrick Friel CLA 2006-04-26 12:03:23 EDT
Created attachment 39548 [details]
Screenshot of the problem

Here's a screenshot of the problem we're seeing. Could this be because of how we're creating the dialog?
Comment 8 Patrick Friel CLA 2006-04-26 12:04:24 EDT
The above screenshot was with High Contrast, Large Fonts and 800x600 screen size.
Comment 9 Patrick Friel CLA 2006-04-26 12:35:38 EDT
I've done some more testing and the problem only occurs when using the accessiblity option "High Contrast". I tried it just using 800x600 with Extra Large Fonts and it behaves normally like you've seen. But when I select High Contrast as well, I see the problem shown in the screenshot I supplied. Even then it works sometimes. If I had our application (based on Eclipse) open when I changed the settings, the dialog behaved normally and the text and dialog wrapped properly, but if I closed and reopened the app, the problem would occur as shown in the screenshot.
Comment 10 Susan McCourt CLA 2006-04-26 14:16:15 EDT
I tried using High Contrast/Large Fonts and High Contrast/Extra Large Fonts in 800x600 mode and still do not see the problem.  I tried it in both Eclipse 3.2 (latest build) and Eclipse 3.1.2, in case it was something that has already been fixed. 

I made sure to try it in two cases:
- change the accessibility options when Eclipse is already open
- change the accessibility options first, then launch Eclipse.

I'm not really sure where to go from here.  Either there are subtle differences in the fonts/settings we are using, or there is something going on in your application.  Could you try to reproduce the problem in a standard Eclipse SDK?  At least that would rule out it being a problem in your app.  I will attach a test class that simulates the message.
Comment 11 Susan McCourt CLA 2006-04-26 14:20:58 EDT
Created attachment 39566 [details]
snippet to recreate the dialog

here is a snippet that recreates the dialog.  You will need to import it into a Java project in Eclipse and run it as an SWT application.  If this snippet fails in your setup, then we can rule out your application and focus on what is different about your setup and mine.
Comment 12 Susan McCourt CLA 2006-04-26 14:21:36 EDT
Tod, I cc'ed you on this bug in case any of this rings a bell.
Comment 13 Susan McCourt CLA 2006-04-27 12:58:48 EDT
this will not make RC2...tagging 3.2 for now to keep it on the radar, but may not be fixed if we can't reproduce.
Comment 14 Susan McCourt CLA 2006-05-03 13:37:05 EDT
I'm going to have to close this one as "works for me."
Please reopen if you are able to reproduce the problem in 3.2 with the snippet attached to this bug, or can provide further information as to how to reproduce.