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

Bug 423412

Summary: [painting] Some text annotations are not rendered in KDE
Product: [Eclipse Project] Platform Reporter: Alessandro Nistico <alienisty>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: akurtakov, andrei.ilie, arunkumar.thondapu, ericwill, pwebster
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
screenshot with the box annotation enabled (that it works)
none
screenshot with the native problem underline annotation enabled (that it doesn't work) none

Description Alessandro Nistico CLA 2013-12-06 05:22:58 EST
In text editors, "Text as" annotations, do not render for the following options:
- Native Problem Underline
- Squiggly Line
- Underlined
- Vertical Bar

Preferences for editors are the default.

Operating system is Fedora 19 with KDE 4.11.3
GTK+ Appearance uses Widget style QtCurve
Comment 1 Paul Webster CLA 2013-12-07 14:28:05 EST
Can you please attach a screenshot?

PW
Comment 2 Alessandro Nistico CLA 2013-12-09 01:00:17 EST
Created attachment 238152 [details]
screenshot with the box annotation enabled (that it works)
Comment 3 Alessandro Nistico CLA 2013-12-09 01:01:37 EST
Created attachment 238153 [details]
screenshot with the native problem underline annotation enabled (that it doesn't work)
Comment 4 Alexander Kurtakov CLA 2013-12-10 06:04:17 EST
Alessandro, can it be style issue? Would you please try with other styles?
Comment 5 Alessandro Nistico CLA 2013-12-10 07:39:36 EST
Hi Alexander, if by style you mean the "GTK+ Appearance" in the KDE settings, I've tried them all.

If you mean the theme in eclipse itself, I tried them all as well and the problem is always present.

I don't know if the problem is QT rendering of SWT, but the same issue is not present in Fedora 19 using Gnome3.
Comment 6 Arun Thondapu CLA 2013-12-20 08:59:25 EST
(In reply to Alessandro Nistico from comment #5)
> 
> I don't know if the problem is QT rendering of SWT, but the same issue is
> not present in Fedora 19 using Gnome3.

SWT does not have a Qt version, it uses the GTK libraries always whether you're running KDE or GNOME. So, if it is working with GNOME and not with KDE, it is most likely a desktop theming issue rather than Eclipse itself. Try to test with different KDE desktop themes and see whether that helps.

Alex, have you seen this issue on Fedora 19?
Comment 7 Alexander Kurtakov CLA 2013-12-20 09:09:41 EST
(In reply to Arun Thondapu from comment #6)
> (In reply to Alessandro Nistico from comment #5)
> > 
> > I don't know if the problem is QT rendering of SWT, but the same issue is
> > not present in Fedora 19 using Gnome3.
> 
> SWT does not have a Qt version, it uses the GTK libraries always whether
> you're running KDE or GNOME. So, if it is working with GNOME and not with
> KDE, it is most likely a desktop theming issue rather than Eclipse itself.
> Try to test with different KDE desktop themes and see whether that helps.
> 
> Alex, have you seen this issue on Fedora 19?

No, but KDE applies it's own gtk themes which are far from sufficient. I really recomment using Adwaita even when on KDE.
Comment 8 Andrei ILIE CLA 2014-03-06 12:05:37 EST
Confirming against:
* Eclipse IDE for Java Developers v KeplerServiceRelease2, 20140224-0627
* KDE 4.11.5
* gtk2.x86_64 2.24.22-2.fc19     
* gtk3.x86_64 3.8.8-2.fc19

Should this be reported upstream ?
Comment 9 Alexander Kurtakov CLA 2017-12-15 07:27:31 EST
Is this still an issue with latest Fedora, KDE, Eclipse?
Comment 10 Eric Williams CLA 2018-08-16 15:07:14 EDT
(In reply to Alexander Kurtakov from comment #9)
> Is this still an issue with latest Fedora, KDE, Eclipse?

No response in awhile, closing this ticket now. If the issue persists on 4.8 with GTK3.22, please reopen.