Bug 528819 - [GTK3] StyledText draws carets if unfocused
Summary: [GTK3] StyledText draws carets if unfocused
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.9 M3   Edit
Assignee: Eric Williams CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression, triaged
Depends on:
Blocks: 527444
  Show dependency tree
 
Reported: 2017-12-15 04:29 EST by Thomas Singer CLA
Modified: 2018-08-23 08:50 EDT (History)
2 users (show)

See Also:


Attachments
Sample code (842 bytes, text/plain)
2017-12-15 04:30 EST, Thomas Singer CLA
no flags Details
Initial display (7.89 KB, image/png)
2017-12-15 04:32 EST, Thomas Singer CLA
no flags Details
After resizing (7.92 KB, image/png)
2017-12-15 04:32 EST, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Singer CLA 2017-12-15 04:29:55 EST
Please launch the attached sample on Fedora 27, then start resizing the dialog. Soon the middle and right controls (StyledText) will show a dark bar (the caret?).
Comment 1 Thomas Singer CLA 2017-12-15 04:30:54 EST
Created attachment 271920 [details]
Sample code
Comment 2 Thomas Singer CLA 2017-12-15 04:32:19 EST
Created attachment 271921 [details]
Initial display
Comment 3 Thomas Singer CLA 2017-12-15 04:32:39 EST
Created attachment 271922 [details]
After resizing
Comment 4 Thomas Singer CLA 2017-12-15 04:34:47 EST
My Fedora 27 uses GTK 3.22.26 and the GTK theme "Adwaita".
Comment 5 Thomas Singer CLA 2017-12-15 04:51:36 EST
I can reproduce the problem with SWT 4.760 and 4.847.
Comment 6 Eric Williams CLA 2018-05-07 12:09:41 EDT
Reproducible on X11 and Wayland, with SWT from master as of this morning. Fedora 28.
Comment 7 Thomas Singer CLA 2018-06-14 07:50:30 EDT
This bug is one of the visually annoying ones that prevent us to use GTK3 support.
Comment 9 Eclipse Genie CLA 2018-08-15 14:23:48 EDT
New Gerrit change created: https://git.eclipse.org/r/127462
Comment 11 Eric Williams CLA 2018-08-15 15:46:10 EDT
(In reply to Eclipse Genie from comment #10)
> Gerrit change https://git.eclipse.org/r/127462 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=6228520a024e8d324316da4d3234714a05ef7d1b

Patch is in master now.
Comment 12 Thomas Singer CLA 2018-08-21 08:26:09 EDT
Thank you. I can confirm that it is fixed now.
Comment 13 Eric Williams CLA 2018-08-23 08:50:01 EDT
Verified in I20180821-2000.