Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

High DPI open issues

Revision as of 15:17, 23 February 2016 by Unnamed Poltroon (Talk)

Open issues for bug 399786 in http://git.eclipse.org/c/platform/eclipse.platform.swt.git/log/?h=slakkimsetti/HighDPIChangesforNeon

Problem Platform Owner Status
1 Status line . The position of right side status like writable/gc condition not appearing correctly
2 ImageBasedFrame from platform UI nor rendering correctly
3 In tasklist view the help button is out of the task view boundary
4 The error icon for compilation unit is not correct if the class is abstract also the icon is cut on the top and bottom
5 Splash screen is clipped - size wrong
6 Dynamic change of scaling factor: SWT should adapt automatically GTK3
7 At 200% zoom, StyledText#computeSize(..), Link#computeSizeInPixels(...), etc. often throw an IAE. Example: Search > Java... . The problem is that clients expect TextLayout#getWidth() to return -1 if wrapping is disabled. This should:
  • be documented in the API
  • be fixed in the implementations of TextLayout#getWidth() and TextLayout#setWidth(int)

TextLayout's ascent & descent properties look like they also need similar *InPixels(..) getters and setters that treat -1 specially. There could be more such cases, also in other classes.

GTK3 200%
8 Would be good to have a way to enforce a given zoom level for debugging purposes. E.g. on Ubuntu 14.04, I couldn't set the scale factor to 2 when I only had a 1680x1050 display attached. I hacked DPIUtil#setDeviceZoom(int) to add a system property "org.eclipse.swt.internal.deviceZoom", but this still left the rendered fonts unzoomed. All
9 APIs: eliminate all unnecessary API additions like TextLayout#getWidthInPixels(). The Javadoc on the internal *InPixels(...) methods should be removed. They are wrong (don't tell that they deal with pixels), redundant (thereby risking wrong updates in the future), and against SWT's traditions (don't document internal APIs unless there's something important to say). GTK3
10 Eclipse SDK main toolbar doesn't wrap properly: Quick Access field and perspective switcher disappear when window gets resized. GTK3 150%
11 CustomControlExample > CTabFolder:
  • preferred height too small: Cut at the bottom
  • Minimize/Maximize icons get a red shadow on the right/bottom. Looks like a problem with transparency. When I change the transparent color in CTabFolder#createButtonImage(...) to 0, 0xFD, 0, then the shadow becomes green.
GTK3 150%

Back to the top