Bug 562468 - [HiDPI][Linux] TreeViewer and TableViewer with ILabelProvider has blurred icons [scale 200%]
Summary: [HiDPI][Linux] TreeViewer and TableViewer with ILabelProvider has blurred ico...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.15   Edit
Hardware: PC CentOS
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-24 10:24 EDT by Serhiy Davydiuk CLA
Modified: 2020-05-28 07:40 EDT (History)
0 users

See Also:


Attachments
RCP application (78.11 KB, application/x-zip-compressed)
2020-04-24 10:24 EDT, Serhiy Davydiuk CLA
no flags Details
linux screen (31.07 KB, image/png)
2020-04-24 10:25 EDT, Serhiy Davydiuk CLA
no flags Details
windows screen (17.66 KB, image/png)
2020-04-24 10:25 EDT, Serhiy Davydiuk CLA
no flags Details
Open perspective dialog (42.86 KB, image/png)
2020-05-19 13:51 EDT, Serhiy Davydiuk CLA
no flags Details
Plug-ins view (71.43 KB, image/png)
2020-05-19 13:52 EDT, Serhiy Davydiuk CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serhiy Davydiuk CLA 2020-04-24 10:24:41 EDT
Created attachment 282552 [details]
RCP application

Working on UHD monitor i'm observing blurred icons for the TreeViewer that uses LabelProvider. It works fine with StyledLabelProvider. The issue appears on Linux only (CentOS, gtk 3.22.30), everything is fine on Windows. Please see screens and code. Thanks
Comment 1 Serhiy Davydiuk CLA 2020-04-24 10:25:23 EDT
Created attachment 282553 [details]
linux screen
Comment 2 Serhiy Davydiuk CLA 2020-04-24 10:25:53 EDT
Created attachment 282554 [details]
windows screen
Comment 3 Serhiy Davydiuk CLA 2020-04-24 10:29:59 EDT
(In reply to Serhiy Davydiuk from comment #0)
> Created attachment 282552 [details]
> RCP application
> 
> Working on UHD monitor i'm observing blurred icons for the TreeViewer that
> uses LabelProvider. It works fine with StyledLabelProvider. The issue
> appears on Linux only (CentOS, gtk 3.22.30), everything is fine on Windows.
> Please see screens and code. Thanks

* StyledCellLabelProvider
Comment 4 Serhiy Davydiuk CLA 2020-05-19 13:50:29 EDT
The same problem exists when using CellLabelProvider also. It is easy to reproduce within Eclipse IDE (PluginsLabelProvider, PerspectiveLabelProvider, etc.)
Comment 5 Serhiy Davydiuk CLA 2020-05-19 13:51:34 EDT
Created attachment 282942 [details]
Open perspective dialog
Comment 6 Serhiy Davydiuk CLA 2020-05-19 13:52:21 EDT
Created attachment 282943 [details]
Plug-ins view
Comment 7 Serhiy Davydiuk CLA 2020-05-28 07:40:16 EDT
Seems this defect is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=534422. <br>
It is not reproducible with StyledLabelProvider because it uses paintEvent and gc.drawImage to draw treeItem image.
In our case menu items, tree items and table items are blurred on scale 200. All these items use similar draw mechanism and use GDK.gdk_pixbuf_scale_simple