[JBoss JIRA] (ERT-742) [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
by Eric Williams (Jira)
[ https://issues.jboss.org/browse/ERT-742?page=com.atlassian.jira.plugin.sy... ]
Eric Williams reassigned ERT-742:
---------------------------------
Sprint: devex #169 July 2019
Assignee: Eric Williams
> [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
> --------------------------------------------------------------------------------------------
>
> Key: ERT-742
> URL: https://issues.jboss.org/browse/ERT-742
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Platform
> Reporter: Friendly Jira Robot
> Assignee: Eric Williams
> Priority: Major
> Labels: 4.13_M3, SWT, bzira
>
> To reproduce, run the following snippet:
> public static void main(String[] args) throws Exception {
> final Display display = new Display();
> Shell shell = new Shell(display);
> shell.setSize(500, 80);
> shell.setLayout(new FillLayout(SWT.HORIZONTAL));
> shell.setText("Bug");
> Composite co = new Composite(shell, SWT.NONE);
> co.setLayout(new FillLayout(SWT.HORIZONTAL));
> Label l = new Label(co, SWT.NONE);
> l.setBackground(co.getBackground());
> boolean equalColors = l.getBackground().equals(co.getBackground());
> l.setText("colors equal: " + equalColors);
>
> shell.open();
> while (!shell.isDisposed()) {
> if (!display.readAndDispatch()) {
> display.sleep();
> }
> }
> display.dispose();
> }
> Observe that the label text indicates, that the background color of the label is not the same as that of its parent. Although the snippet explicitly sets the same color.
> Seems to be a regression from bug 548286: https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2d...
> Prior to this change, the colors are equal. The difference is in some fractions of all the colors (RGB).
> We see this with latest Eclipse SDK 4.13, on RHEL 7.4 with GTK3. No idea if its also seen on Windows 7/10 or Mac.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 8 months
[JBoss JIRA] (ERT-741) [WAYLAND] [HiDPI] Some icons scaled incorrect [EBZ#507020]
by Eric Williams (Jira)
[ https://issues.jboss.org/browse/ERT-741?page=com.atlassian.jira.plugin.sy... ]
Eric Williams reassigned ERT-741:
---------------------------------
Sprint: devex #169 July 2019
Assignee: Eric Williams
> [WAYLAND] [HiDPI] Some icons scaled incorrect [EBZ#507020]
> ----------------------------------------------------------
>
> Key: ERT-741
> URL: https://issues.jboss.org/browse/ERT-741
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Platform
> Reporter: Friendly Jira Robot
> Assignee: Eric Williams
> Priority: Major
> Labels: 4.13, SWT, bzira
>
> Testing Eclipse 4.6.1 with Wayland on Fedora 25 on a Macbook with retina display.
> When I start up eclipse on the retina display the icons in menues, and the header of the editor, header of the navigation sidebar and the icons in the navigation sidebar are scaled to about double the expected size. However, the icons in the toolbar is scaled correctly.
> Then when I attach a secondary screen with a regular resolution and move eclipse to that screen. It seems that ALL the icons, including the toolbar, gets scaled to double the expected size.
> Under X everything seems to be scaled as I expect.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 8 months
[JBoss JIRA] (ERT-742) [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
by Friendly Jira Robot (Jira)
Friendly Jira Robot created ERT-742:
---------------------------------------
Summary: [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
Key: ERT-742
URL: https://issues.jboss.org/browse/ERT-742
Project: Eclipse Release Train
Issue Type: Task
Components: Platform
Reporter: Friendly Jira Robot
To reproduce, run the following snippet:
public static void main(String[] args) throws Exception {
final Display display = new Display();
Shell shell = new Shell(display);
shell.setSize(500, 80);
shell.setLayout(new FillLayout(SWT.HORIZONTAL));
shell.setText("Bug");
Composite co = new Composite(shell, SWT.NONE);
co.setLayout(new FillLayout(SWT.HORIZONTAL));
Label l = new Label(co, SWT.NONE);
l.setBackground(co.getBackground());
boolean equalColors = l.getBackground().equals(co.getBackground());
l.setText("colors equal: " + equalColors);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) {
display.sleep();
}
}
display.dispose();
}
Observe that the label text indicates, that the background color of the label is not the same as that of its parent. Although the snippet explicitly sets the same color.
Seems to be a regression from bug 548286: https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2d...
Prior to this change, the colors are equal. The difference is in some fractions of all the colors (RGB).
We see this with latest Eclipse SDK 4.13, on RHEL 7.4 with GTK3. No idea if its also seen on Windows 7/10 or Mac.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 8 months
[JBoss JIRA] (ERT-742) [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
by Friendly Jira Robot (Jira)
[ https://issues.jboss.org/browse/ERT-742?page=com.atlassian.jira.plugin.sy... ]
Friendly Jira Robot resolved ERT-742.
-------------------------------------
Resolution: Done
> [GTK] Label background set from parent background, but the colors are not equal [EBZ#549101]
> --------------------------------------------------------------------------------------------
>
> Key: ERT-742
> URL: https://issues.jboss.org/browse/ERT-742
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Platform
> Reporter: Friendly Jira Robot
> Priority: Major
> Labels: 4.13_M3, SWT, bzira
>
> To reproduce, run the following snippet:
> public static void main(String[] args) throws Exception {
> final Display display = new Display();
> Shell shell = new Shell(display);
> shell.setSize(500, 80);
> shell.setLayout(new FillLayout(SWT.HORIZONTAL));
> shell.setText("Bug");
> Composite co = new Composite(shell, SWT.NONE);
> co.setLayout(new FillLayout(SWT.HORIZONTAL));
> Label l = new Label(co, SWT.NONE);
> l.setBackground(co.getBackground());
> boolean equalColors = l.getBackground().equals(co.getBackground());
> l.setText("colors equal: " + equalColors);
>
> shell.open();
> while (!shell.isDisposed()) {
> if (!display.readAndDispatch()) {
> display.sleep();
> }
> }
> display.dispose();
> }
> Observe that the label text indicates, that the background color of the label is not the same as that of its parent. Although the snippet explicitly sets the same color.
> Seems to be a regression from bug 548286: https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=2d...
> Prior to this change, the colors are equal. The difference is in some fractions of all the colors (RGB).
> We see this with latest Eclipse SDK 4.13, on RHEL 7.4 with GTK3. No idea if its also seen on Windows 7/10 or Mac.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 8 months