Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 515026 - [GTK3] GridLayout does not work correctly for radio buttons
Summary: [GTK3] GridLayout does not work correctly for radio buttons
Status: CLOSED DUPLICATE of bug 500703
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: snippet layout grid
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-10 08:49 EDT by Björn Arnelid CLA
Modified: 2017-04-27 11:17 EDT (History)
6 users (show)

See Also:


Attachments
GTK Warnings (73.09 KB, text/plain)
2017-04-10 08:49 EDT, Björn Arnelid CLA
no flags Details
Example code (1.22 KB, text/x-java)
2017-04-10 08:54 EDT, Björn Arnelid CLA
no flags Details
Image of broken behaviour (6.28 KB, image/png)
2017-04-10 08:56 EDT, Björn Arnelid CLA
no flags Details
Snippet that demonstrates problem (795 bytes, text/plain)
2017-04-25 18:03 EDT, Ian Pun CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Arnelid CLA 2017-04-10 08:49:59 EDT
Created attachment 267722 [details]
GTK Warnings

If i place a radio button and another component next to each other in a grid layout the components will move in front of each other if i resize the component. 

Im using gtk3-3.22.10-1.fc25 and the problem disappears if i set the environment variable GTK3=0

Se attached files for details.
Comment 1 Björn Arnelid CLA 2017-04-10 08:54:14 EDT
Created attachment 267723 [details]
Example code

Example of status dialog where layout does not work fort radio buttons
Comment 2 Björn Arnelid CLA 2017-04-10 08:56:51 EDT
Created attachment 267724 [details]
Image of broken behaviour

Image showing combo on top of the radio button.
Comment 3 Leo Ufimtsev CLA 2017-04-10 17:47:24 EDT
Thank you for the bug submission and the snippet. We will try to get to this, it may take a bit of time thou.
Comment 4 Ian Pun CLA 2017-04-25 14:45:34 EDT
Working on this now. Bug seems to only happen after GTK3.20
Comment 5 Eclipse Genie CLA 2017-04-25 18:01:05 EDT
New Gerrit change created: https://git.eclipse.org/r/95734
Comment 6 Ian Pun CLA 2017-04-25 18:03:36 EDT
Created attachment 267987 [details]
Snippet that demonstrates problem
Comment 7 Ian Pun CLA 2017-04-25 18:04:30 EDT
Hi Björn,

I think I found the cause of the issue and have submitted a possible fix linked in this bugzilla. Would you like to check it out and see if the problem persists?
Comment 8 Alexander Kurtakov CLA 2017-04-26 01:47:40 EDT
Ian, would you please share link to the GtkCombo change in gtk 3.20 ?
Comment 9 Ian Pun CLA 2017-04-27 09:50:46 EDT
(In reply to Alexander Kurtakov from comment #8)
> Ian, would you please share link to the GtkCombo change in gtk 3.20 ?

Eric is doing a bisect on this to find the exact commit that caused this change
Comment 10 Eric Williams CLA 2017-04-27 11:06:21 EDT
(In reply to Ian Pun from comment #9)
> (In reply to Alexander Kurtakov from comment #8)
> > Ian, would you please share link to the GtkCombo change in gtk 3.20 ?
> 
> Eric is doing a bisect on this to find the exact commit that caused this
> change

I found the relevant commit: https://github.com/GNOME/gtk/commit/3e0694284785153944255a0501e84a76c491e4b4

Not sure how the fix will pan out, investigating that now.

Also, is this bug not a duplicate of bug 500703?
Comment 11 Alexander Kurtakov CLA 2017-04-27 11:08:49 EDT
looks like a dup, yes
Comment 12 Eric Williams CLA 2017-04-27 11:17:39 EDT

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