Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 531885 (Snippet149_MultipleTableEditorControls) - [Gtk3] More than 1 control as TableEditor in table is broken. Snippet149
Summary: [Gtk3] More than 1 control as TableEditor in table is broken. Snippet149
Status: CLOSED DUPLICATE of bug 531928
Alias: Snippet149_MultipleTableEditorControls
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: hasSnippet Category:Widget Widget:table
Keywords: triaged
Depends on:
Blocks: FixSwtSnippetsOnGtk3
  Show dependency tree
 
Reported: 2018-03-01 17:08 EST by Leo Ufimtsev CLA
Modified: 2018-03-28 10:05 EDT (History)
2 users (show)

See Also:


Attachments
Gtk2 vs gtk3. (61.88 KB, image/png)
2018-03-02 11:02 EST, Leo Ufimtsev CLA
no flags Details
Modified snippet. (1.04 KB, text/plain)
2018-03-02 11:03 EST, Leo Ufimtsev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Ufimtsev CLA 2018-03-01 17:08:06 EST
Gtk2.24 works.
Gtk3.22, Broken. 

I.e the 2nd column is suppose to show an embedded ProgressBar control,
but currently it doesn't show anything. Also shell size seems off compared to gtk2.

I recall a custom control working in the 1st column in one of the snippets, (Snippet126.java), not sure if related.
Comment 1 Leo Ufimtsev CLA 2018-03-02 11:02:36 EST
I researched a little bit.

- The issue occurs (by the looks of it) for any control (Progressbar/Button etc..)
- The first control that is a tableEditor is shown in the table, but 2nd & onwards are not.

With slight modification it's more visible.
Comment 2 Leo Ufimtsev CLA 2018-03-02 11:02:56 EST
Created attachment 272979 [details]
Gtk2 vs gtk3.
Comment 3 Leo Ufimtsev CLA 2018-03-02 11:03:11 EST
Created attachment 272980 [details]
Modified snippet.
Comment 4 Leo Ufimtsev CLA 2018-03-02 11:04:41 EST
Something to note is that when clicking on the table items, the button selection is fired. So the click does reach the buttons, but they're not visible.

But if I click on the very far right of a table item (x=1), then the table item is selected.

So the buttons seems to be there, but they're not being drawn on top of the table properly by the looks of things.
Comment 5 Eric Williams CLA 2018-03-28 10:05:38 EDT

*** This bug has been marked as a duplicate of bug 531928 ***