| Summary: | [GTK3.22] incorrect height edited combo box | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Nobody - feel free to take it <nobody> | ||||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ericwill | ||||||||
| Version: | 4.8 | Keywords: | triaged | ||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Nobody - feel free to take it
Created attachment 271935 [details]
tar archive with gtk3 theme
$ cd ~/.themes
$ tar -xf test2.tar.xz
$ gsettings set org.gnome.desktop.interface gtk-theme "test2"
AFAIK we don't add any padding to SWT Combos but I'll take a look. Sorry it took me so long to get back to this issue, here is what I have discovered: The extra padding you describe comes from SWT's additional CSS theming. The good news is that we are changing the way SWT deals with CSS theming in bug 527729, which should be merged in the next week or so. To summarize the changes that bug 527729 will bring: we are adding checks for themes. SWT's position will be only to explicitly support the Adwaita theme, meaning we will only load our custom CSS changes if the Adwaita (or Adwaita-dark) theme is set. If Adwaita is not the system theme, SWT will not load its custom CSS changes. This hands-off approach means that users running a custom theme can expect Eclipse to behave like other GTK3 applications would. Furthermore, users with custom themes can insert any custom CSS into SWT by putting their changes in a file, and then specifying that file to SWT via the "org.eclipse.swt.internal.gtk.cssFile" property. With the changes in bug 527279, I cannot reproduce the issue you describe. *** This bug has been marked as a duplicate of bug 527729 *** Created attachment 274667 [details]
Eclipse Photon (4.8)
Eclipse SDK
Version: Photon (4.8)
Build id: I20180611-0500
I still see this bug.
How to fix this?
I still see this bug. $ rpm -q gtk3 gtk3-3.22.28-1.x86_64 (In reply to Alien Huker from comment #5) > I still see this bug. Are you launching your SWT app with -Dorg.eclipse.swt.internal.gtk.noThemingFixes ? > Are you launching your SWT app with -Dorg.eclipse.swt.internal.gtk.noThemingFixes ?
No.
This property solve problem.
(In reply to Alien Huker from comment #8) > > Are you launching your SWT app with -Dorg.eclipse.swt.internal.gtk.noThemingFixes ? > No. > > > This property solve problem. Okay. For future reference, all Adwaita related theme fixes are on by default. If you want to launch SWT without them, use that property. |