Bug 547933 - [GTK] Browser widget not sized properly
Summary: [GTK] Browser widget not sized properly
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.12   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 4.13 M3   Edit
Assignee: Eric Williams CLA
QA Contact:
URL:
Whiteboard: RHT
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-06-04 16:58 EDT by Paul Pazderski CLA
Modified: 2019-08-20 10:18 EDT (History)
1 user (show)

See Also:


Attachments
Faulty browser widget size on ubuntu (5.21 KB, image/png)
2019-06-04 16:58 EDT, Paul Pazderski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pazderski CLA 2019-06-04 16:58:31 EDT
Created attachment 278821 [details]
Faulty browser widget size on ubuntu

I saw this problem on Ubuntu Mate but also on a default installation of Ubuntu 19.04. When running Snippet351 (or most of the other browser widgets) the browser widget is not sized correctly. I attached a screenshot and if you look closely you can see one black pixel in the top left corner which is the browser widget.

One workaround is to add an extra shell.requestLayout() after shell.open() or explicit setting a shell size. Also the browser widget seem to fix itself in some situations e.g. minimize and restore the window.

org.eclipse.swt.internal.deviceZoom=100
org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.theme=Yaru
org.eclipse.swt.internal.gtk.version=3.24.8
org.eclipse.swt.internal.webkitgtk.version=2.24.1
Comment 1 Eric Williams CLA 2019-06-04 17:03:33 EDT
Which version of Eclipse/SWT? There was a bug where the WebKitGTK libs weren't being loaded on Ubuntu. Can you try 4.12 RC1?
Comment 2 Eric Williams CLA 2019-06-04 17:06:41 EDT
Ah never mind, I see that the issue is something else all together. We'll investigate.
Comment 3 Eclipse Genie CLA 2019-07-17 11:24:12 EDT
New Gerrit change created: https://git.eclipse.org/r/146251
Comment 5 Eric Williams CLA 2019-07-17 12:36:26 EDT
(In reply to Eclipse Genie from comment #4)
> Gerrit change https://git.eclipse.org/r/146251 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=683d01a40d6ac17c596b7d2017f940efce8135cd

In master now.
Comment 6 Eric Williams CLA 2019-08-20 10:18:54 EDT
Verified in I20190820-0600.