Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 498763

Summary: [gtk3][dark] Dropdowns have strange border around individual menu items
Product: [Eclipse Project] Platform Reporter: Andreas Sewe <sewe>
Component: SWTAssignee: Ian Pun <ipun>
Status: CLOSED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: ericwill
Version: 4.7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Appearance preference page with Theme dropdown open none

Description Andreas Sewe CLA 2016-07-28 08:49:08 EDT
Created attachment 263353 [details]
Appearance preference page with Theme dropdown open

When using the Dark theme with the Eclipse SDK (Version: Oxygen, Build id: I20160726-1400, OS: Linux, v.4.4.0-28-generic, x86_64 / gtk 3.18.9) I experience an ugly border around *individual* menu items in a dropdown menu. See the attached screenshot (taken using ChaletOS 16.04, which is based on Ubuntu + Xfce).

FWIW, I've also noticed this under Debian 8 with Gnome, only that there it is a black border around menu items on a dark gray background. But the underlying phenomenon seems to be the same.
Comment 1 Eric Williams CLA 2016-07-28 17:03:27 EDT
I can't reproduce this on Fedora 24, GTK3.20 or GTK3.18. What I can reproduce is the issue you described from Debian with the dark gray menu items with a black border. It's worth investigating.
Comment 2 Andreas Sewe CLA 2016-07-29 03:02:15 EDT
(In reply to Eric Williams from comment #1)
> I can't reproduce this on Fedora 24, GTK3.20 or GTK3.18. What I can
> reproduce is the issue you described from Debian with the dark gray menu
> items with a black border. It's worth investigating.

OK, hopefully the ChaletOS problem stems from that as well, as ChaletOS is based in Ubuntu is based on Debian. As ChaletOS is one of the more obscure Linux distros, it's probably not worth investigating for ChaletOS along, but Debian *is* quite common.
Comment 3 Ian Pun CLA 2017-05-30 09:53:35 EDT
Hi Andreas,

Similar to what Eric has mentioned, I cannot reproduce this in Gtk3.22, GTK3.20 or GTK3.18 in Fedora 25. Mine has a black border, which I don't believe is a bug compared to an ugly white border. Please let me know if this problem is still happening with ChaletOS still. I will follow up in a week, and if no one objects, will close after a month of no response.
Comment 4 Andreas Sewe CLA 2017-05-30 10:01:49 EDT
(In reply to Ian Pun from comment #3)
> Hi Andreas,
> 
> Similar to what Eric has mentioned, I cannot reproduce this in Gtk3.22,
> GTK3.20 or GTK3.18 in Fedora 25. Mine has a black border, which I don't
> believe is a bug compared to an ugly white border. Please let me know if
> this problem is still happening with ChaletOS still. I will follow up in a
> week, and if no one objects, will close after a month of no response.

ChaletOS hasn't been updated since my initial bug report [1]; the latest version (16.04.2) is over a year old. 

Thus, I'm not working under ChaletOS at the moment, bug given that ChaletOS hasn't changed, it's likely the the problem still persists. But I will test with the latest Oxygen milestone and report back here.

[1] <https://sites.google.com/site/chaletoslinux/home>
Comment 5 Andreas Sewe CLA 2017-06-02 09:45:59 EDT
(In reply to Andreas Sewe from comment #4)
> (In reply to Ian Pun from comment #3)
> > Hi Andreas,
> > 
> > Similar to what Eric has mentioned, I cannot reproduce this in Gtk3.22,
> > GTK3.20 or GTK3.18 in Fedora 25. Mine has a black border, which I don't
> > believe is a bug compared to an ugly white border. Please let me know if
> > this problem is still happening with ChaletOS still. I will follow up in a
> > week, and if no one objects, will close after a month of no response.
> 
> Thus, I'm not working under ChaletOS at the moment, bug given that ChaletOS
> hasn't changed, it's likely the the problem still persists. But I will test
> with the latest Oxygen milestone and report back here.

Just tested with Oxygen RC2 and Chalet OS 16.4.2. The situation still looks the same as in the attached screenshot, with

  org.eclipse.swt.internal.gtk.theme=ChaletOS_Default
  org.eclipse.swt.internal.gtk.version=3.18.9
Comment 6 Ian Pun CLA 2017-06-21 11:55:52 EDT
(In reply to Andreas Sewe from comment #5)
> (In reply to Andreas Sewe from comment #4)
> > (In reply to Ian Pun from comment #3)
> > > Hi Andreas,
> > > 
> > > Similar to what Eric has mentioned, I cannot reproduce this in Gtk3.22,
> > > GTK3.20 or GTK3.18 in Fedora 25. Mine has a black border, which I don't
> > > believe is a bug compared to an ugly white border. Please let me know if
> > > this problem is still happening with ChaletOS still. I will follow up in a
> > > week, and if no one objects, will close after a month of no response.
> > 
> > Thus, I'm not working under ChaletOS at the moment, bug given that ChaletOS
> > hasn't changed, it's likely the the problem still persists. But I will test
> > with the latest Oxygen milestone and report back here.
> 
> Just tested with Oxygen RC2 and Chalet OS 16.4.2. The situation still looks
> the same as in the attached screenshot, with
> 
>   org.eclipse.swt.internal.gtk.theme=ChaletOS_Default
>   org.eclipse.swt.internal.gtk.version=3.18.9

Hi Andreas,

The current version we are using with GTK is 3.22. Would you be able to retest this in the latest version? I appreciate the patience
Comment 7 Andreas Sewe CLA 2017-06-21 12:08:29 EDT
(In reply to Ian Pun from comment #6)
> The current version we are using with GTK is 3.22. Would you be able to
> retest this in the latest version? I appreciate the patience

GTK 3.18.9 is the latest version of GTK used by ChaletOS and I have no idea how to upgrade GTK (in a Ubuntu-based distribution) without breaking the whole thing.

Do you know whether its possible to just start a single process with a different version of GTK? If so, I may investigate this further.
Comment 8 Ian Pun CLA 2017-07-26 10:54:34 EDT
(In reply to Andreas Sewe from comment #7)
> Do you know whether its possible to just start a single process with a
> different version of GTK? If so, I may investigate this further.

In the case, I would recommend running a VM with ChaletOS in a higher GTK3 version, or if that's not possible, try switching ChaletOS themes as that may be the issue.
Comment 9 Eric Williams CLA 2018-04-11 14:42:48 EDT
Ping, is this still reproducible on GTK3.22?
Comment 10 Eric Williams CLA 2018-08-23 13:14:39 EDT
(In reply to Eric Williams from comment #9)
> Ping, is this still reproducible on GTK3.22?

No response since last ping -- please reopen this ticket if you can reproduce the issue on 4.8 with GTK3.22.