Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 470403 - [GTK] Table content not visible if EditingSupport is used
Summary: [GTK] Table content not visible if EditingSupport is used
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-17 12:11 EDT by Lars Vogel CLA
Modified: 2019-10-26 01:08 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2015-06-17 12:11:54 EDT
This happens with GTK2 and GTK3 for me. If you add EditSupport to a JFace viewer, its content is not visible. 

Tested on vanilla Ubuntu 15.04. with the Snippet007FullSelection JFace Snippet 

https://github.com/vogella/eclipse.platform.ui/blob/master/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet007FullSelection.java

Eclipse Release 4.5.0.I20150603-2000

I think that is critical.
Comment 1 Leo Ufimtsev CLA 2015-06-18 10:48:57 EDT
I've been able to reproduce the issue on F23 with Gtk2 and Gtk3.16 with the jface snippet.

On gtk2 the left column is not visible. On Gtk3 the content of the right cell is only visible after a 3rd click.

I tested with a related patch: 
https://git.eclipse.org/r/#/c/48343/
But the patch had no impact. As such I don't think it's a duplicate of:
Bug 466499 - [GTK3] [GTK3.14] Path text not drawn in column of commit dialog window

Investigating further...
Comment 2 Leo Ufimtsev CLA 2015-06-18 10:49:18 EDT
s/F23/Fedora22.
Comment 3 Leo Ufimtsev CLA 2015-06-18 13:37:03 EDT
The issue doesn't occur on SWT Snippet88 (table with cells that can be edited). It seems specific to the jFace snippet.
I looked around in jFace's TableViewer but didn't find anything that would trigger the issue. 

Also, when I select things, they seem to be there, it seems that they are drawn but the foreground/background combination makes them invisible. That could be little theme dependent or there might be a bug in the coloring somewhere. 

@Lars, would you be able to clarify what exact behavior you are getting on Gtk2/Gtk3 (whether they differ like they do for me) and perhaps attach screenshots.

Also, please let me know how Snippet88 looks for you.
Comment 4 Lars Vogel CLA 2015-06-18 13:45:10 EDT
Behavior is the same, once I select them they become visible.
Comment 5 Leo Ufimtsev CLA 2015-06-18 14:07:48 EDT
With another jFace snippet where you have an editable table things work well:
Snippet018TableViewerAddRemoveColumnsWithEditing

Does the issue occur for you on JFace snippet018 also?
Comment 6 Sravan Kumar Lakkimsetti CLA 2016-03-23 05:51:05 EDT
Based on the above comments, we feel this is related to Jface. Please have a look and if you feel it is related SWT, please move it back to us
Comment 7 Dani Megert CLA 2016-04-01 09:05:04 EDT
Lars or Leo, can you investigate this bug?
Comment 8 Lars Vogel CLA 2016-04-25 15:11:41 EDT
Mass move to 4.6 RC1. We might push out more to 4.7.
Comment 9 Patrik Suzzi CLA 2016-11-28 15:28:36 EST
Any news about this critical issue?

Seems this happens in Linux GTK 2 and 3, both Ubuntu and Fedora. 

As Neon was released on 2016-06-22, It might be this issue is already solved in Neon. I think we should re-check.
Comment 10 Eclipse Genie CLA 2019-10-26 01:08:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.