Replies: 3 comments 22 replies
-
A test case snippet would of course help. This sounds very serious. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the report, @ptziegler! First of all, I see two issues here that need to be distinguished: the wrong image sizes and the drawing artifacts. Wrong image sizesImages being painted as if at 100% even though you are on a 125% zoom monitor appears to be an (unknown) bug. Either the WindowBuilder implementation is doing something strange that is incompatible with monitor-specific scaling or it may be a bug in SWT (most probably in the Image implementation). Since the Image implementation on Windows was significantly revised, it might be a regression in those changes, which is why we should definitely have a look before the upcoming release. Drawing artifactsThis is actually an issue with custom rendering at |
Beta Was this translation helpful? Give feedback.
-
Which I just noticed has another unpleasant side-effect: Backwards compatibility. If I decide to use the ImageGcDrawer, I also limit my application to only work with the latest Eclipse release. Which is fine for the platform itself, but not for downstream projects. I.e. I have three options:
So effectively 3). In hindsight, I think that seeing the full impact only as part of the M2 was way too late, especially with the delay due to the Jenkins issues. Because now clients (meaning I) only have a few weeks to adapt to those changes. 😨 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a little bit of a concerning topic that popped up in the WindowBuilder project, after trying out the recent M2/M3. In short: WindowBuilder is making heavy use of double-buffering where the UI is first painted onto an Image and the result then to the underlying Canvas. For example in the CImageLabel.
The problem is that somewhere along those lines, the monitor-specific information is lost and everything is painted as if at 100% zoom. This is the example in the editor when at 125% zoom, with double-buffering:
And the same example, but without double-buffering.
As you can see, the label/icon is not scaled correctly and the whole area contains visual artifacts. The effect is even worse when you look at the entire editor, which is completely unusable:
Using double-buffering is not an uncommon technique, so I assume that is something other clients will experience as well. I don't get the impression that this was really taken into consideration and I'm not really sure how to solve this, outside of removing every and all instances where double-buffering is used...
Sadly, I'm not familiar with all the changes that accompanied this feature, so I suppose the point of this discussion is to primarily raise awareness for some of the weird little quirks that have been introduced.
Beta Was this translation helpful? Give feedback.
All reactions