Bug 97590 - [type wizards] New Java wizards cut off in High Contrast
Summary: [type wizards] New Java wizards cut off in High Contrast
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 189658 575320 (view as bug list)
Depends on: 188724
Blocks:
  Show dependency tree
 
Reported: 2005-05-31 12:55 EDT by Tod Creasey CLA
Modified: 2023-08-04 01:28 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot (33.26 KB, image/gif)
2005-05-31 12:58 EDT, Tod Creasey CLA
no flags Details
Screenshot in 3.3 (45.46 KB, image/png)
2007-05-23 15:03 EDT, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2005-05-31 12:55:37 EDT
RC1

When you try to create a java class in High Contrast mode the bottom buttons of
the wizard are cut off.

To set up High Contrast select the High Contrast settings in Control Panel ->
Accessibility Options -> Display. We test at 1152x768 resolution.
Comment 1 Tod Creasey CLA 2005-05-31 12:58:59 EDT
Created attachment 22069 [details]
Screenshot
Comment 2 Dirk Baeumer CLA 2005-05-31 13:06:06 EDT
Tod, am I missing something. I don't see any cut off button in the screen shot.
And do you know what the rule will be regarding high contrast mode. Are we
saying that Eclipse works in High contrast mode. We didn't in the past. Right ?
Comment 3 Tod Creasey CLA 2005-05-31 13:17:00 EDT
Everything under main is missing (3 buttons and a label). We have supported High
Contrast since Eclipse 2.0.

There is also cut off text in the following Java wizards

Java Project
JUnit test case
Comment 4 Dirk Baeumer CLA 2005-05-31 13:27:14 EDT
But fixing this basically means rewriting the dialogs. Is there another solution
for it ?
Comment 5 Tod Creasey CLA 2005-05-31 13:33:48 EDT
Usually making one of the Composites scrollable does the trick.
Comment 6 Dirk Baeumer CLA 2005-06-09 04:57:49 EDT
I was able to fix the new project and the new JUnit test case wizard. However I
am not able to fix the new class wizard since there is a layout problem in SWT
(see bug 99109) which results in the fact that the wizard always has a scrollbar :-(

I opened bug 99112 to track the new class wizard and will close this one so that
the fix gets verified for RC2.

When verifying this bug make sure that:

- both wizard don't have a scroll bar when opened with a normal font and a
  normal screen resolution settings

- when the dialog is resized (made smaller) a vertical scroll bar appears.
Comment 7 Dirk Baeumer CLA 2005-06-10 06:57:39 EDT
Reopening...
Comment 8 Dirk Baeumer CLA 2005-06-10 06:59:42 EDT
After testing this accross multiple platform I have to revert this. The scroll
composite trick works under Windos and Motif, but not under GTK2. The wizard
always shops up with a scroll bar which looks really funny and unprofessional.

I will revert the changes and see if I understand why this doesn't work under
GTK. Have to test Mac Platform as well.
Comment 9 Dirk Baeumer CLA 2005-06-10 13:50:18 EDT
Removing milestone.

Have to check what we can do here and if we can avoid the scroll bars under GTK.
Comment 10 Dirk Baeumer CLA 2005-06-10 16:09:11 EDT
Verified on I20050610-1200 that both wizards don't offer a vertical scroll bar
anymore.
Comment 11 Dirk Baeumer CLA 2005-06-13 19:08:43 EDT
This is even more complicated as I thought. Under GTK using the blue curve
schema not scroll bar shows up, however using the Misc theme forces a scroll bar. 
Comment 12 Martin Aeschlimann CLA 2006-06-16 05:42:02 EDT
Our attempts on this one showed that it is really tricky/impossible to get the scrolled composits doing right and not showing up when they aren't necessary. If we really go that way, it should be better to solve this in platform UI, e.g. the wizard dialog. 

Setting to won't fix until we have a better solution
Comment 13 Tod Creasey CLA 2006-06-16 09:15:35 EDT
Martin we are not going to solve this in the platform ui as it will potentially break the layouts of many pages that are out there that are assuming they are not in a scrolled composite.

I personally find the same thing you do - the scrolled Composite is too hard to get right.

Making the dialog wider might be a better solution as right now the smaller vertical space is larger. The modifers could be moved to the same line for instance.
Comment 14 Karice McIntyre CLA 2006-07-13 12:53:58 EDT
This bug appears to be resolved in 3.2 - I can see everything on the new java class wizard page when running Eclipse in high contrast.
Comment 15 Tod Creasey CLA 2007-05-23 14:58:04 EDT
Reopening - this is an issue again in 3.3
Comment 16 Tod Creasey CLA 2007-05-23 15:03:12 EDT
Created attachment 68418 [details]
Screenshot in 3.3

This is also an issue with the new project wizard. In 3.3 we added scrollbars in the preference dialog in low resolutions. I think we need to apply the same pattern to wizards.

See Bug 188724 for more details.
Comment 17 Martin Aeschlimann CLA 2007-05-24 04:46:10 EDT
I also think it would be good if the wizard dialog adds scrollbars when necessary.
Can I set this bug as 'duplicate' of bug 188724?
Comment 18 Tod Creasey CLA 2007-05-24 08:21:58 EDT
It is up to you but as we haven't decided what to do yet I would keep it blocked by Bug 188724 rather than a dup
Comment 19 Martin Aeschlimann CLA 2007-05-29 09:21:05 EDT
*** Bug 189658 has been marked as a duplicate of this bug. ***
Comment 20 Eclipse Genie CLA 2019-06-10 09:30:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 21 Eclipse Genie CLA 2021-05-31 14:50:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 22 Rolf Theunissen CLA 2021-08-13 08:27:54 EDT
*** Bug 575320 has been marked as a duplicate of this bug. ***
Comment 23 Eclipse Genie CLA 2023-08-04 01:28:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.