| Summary: | [Graphics] icons should scale with dpi and resolution | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Noel Grandin <noelgrandin> |
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | bnikolaev87, bugmail, clint.eastwool, david_williams, gautier.desaintmartinlacaze, hfink, lorenzo.bettini, lshanmug, markus.kell.r, peter, sravankumarl, stanio, varosi |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | 433098 | ||
| Bug Blocks: | 424604, 479614 | ||
|
Description
Noel Grandin
This is a UI problem, not SWT. We will display the icons we are given. Could you point us at some examples (snap shots) of other applications that do this well? To be honest, the only ones I know off are Linux/KDE based, and that is because they make extensive use of SVG for their icons. I seem to remember they render the icon to the right size and cache the rendered bitmap. And they use a specialised rendering library (ksvg) that only does renderering, none of the other SVG stuff. Go here http://www.everaldo.com/crystal.html for screenshots of KDE Crystal, an SVG-based icon theme. I think Windows and Mac let you define icon sets, where you can have a set of different size icons with the same name e.g. a 16x16, a 32x32 and a 48x48 icon. I would think that an icon set approach would be the best for now. Have a 32x32 icon, and 256x256 icon. If the needed size is small enough, use the 32x32 icon, otherwise take the 256x256 icon and downsample/upsample to the correct size. There is a proposed java icon set file format (JIC/JIconFile) being discussed in the SwingLabs/JDNC incubator project. https://jdnc-incubator.dev.java.net/source/browse/jdnc-incubator/src/dleuck/java/org/jdesktop/jdnc/incubator/dleuck/icon/ This includes code for manipulating an icon "bundle" and scaling images. There is currently no plan to work on this request As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you. We need some SWT support to make this happen. PW Obviously a very old bug, that was "kicked back to UI" from SWT, but I agree with Paul, that some SWT support is needed ... and due to our quirky Luna icons, believe there is a scenario that makes it apparent the OS is doing more than SWT is doing to accommodate non-standard resolutions or DPIs, so opened bug 433098. See bug 382972 for discussions about Retina on Mac OS X. I have a lot of DPI problems with Eclipse on my laptop: 2880x1620 at 15.4" display. Recently there are more and more high-DPI displays on the market. And I give +1 for this to be resolved sooner. I am on 4k display on 15.6 display and scale of 250%. I cannot even recognize the icons, the underlining( warn ,error, etc..). On the other hand the file dialogs has an enormous font. +1 to fix it in neon at least This is fixed as a part of bug 462952 |