Community
Participate
Working Groups
Please run attached sample on Windows and on Linux (tried Windows 10 and Ubuntu 16.10 with standard Unity desktop). On Windows the popup (e.g. for completion) shows correct values, on Linux it is empty.
Created attachment 265963 [details] Sample code to reproduce
Created attachment 265964 [details] Screenshot on Windows 10
On Linux also dozens of lines (SWT:4484): GLib-CRITICAL **: g_base64_encode_step: assertion 'in != NULL' failed are printed irritating users.
This works on GTK2 but not GTK3. On GTK3 a very thin, empty window with a scrollbar shows up. On GTK2 it looks similar to the Windows 10 screenshot. I do not, however, see the warnings when running on GTK3.
I can no longer reproduce this issue: on GTK3 the snippet looks just like Windows. I even see column width = 40 printed to the console. Thomas can you confirm using 4.8 M6?
(In reply to Eric Williams from comment #5) > I can no longer reproduce this issue: on GTK3 the snippet looks just like > Windows. I even see column width = 40 printed to the console. > > Thomas can you confirm using 4.8 M6? I've tried with SWT 4.8 M6 on Fedora 27 and with SWT_GTK3=1 it prints column width = 0 but with SWT_GTK3=0 it prints column width = 67 so this bug still exists in 4.8 M6.
(In reply to Thomas Singer from comment #6) > (In reply to Eric Williams from comment #5) > > I can no longer reproduce this issue: on GTK3 the snippet looks just like > > Windows. I even see column width = 40 printed to the console. > > > > Thomas can you confirm using 4.8 M6? > > I've tried with SWT 4.8 M6 on Fedora 27 and with SWT_GTK3=1 it prints > > column width = 0 > > but with SWT_GTK3=0 it prints > > column width = 67 > > so this bug still exists in 4.8 M6. Sorry, I was running my snippets on the master branch. After further investigation I've determined that this issue has been fixed by the fix for bug 531048. *** This bug has been marked as a duplicate of bug 531048 ***
Yes, the table columns are now wide enough with the latest master commit. But for some weird reason the right-click does not close the window any more.
(In reply to Thomas Singer from comment #8) > Yes, the table columns are now wide enough with the latest master commit. > > But for some weird reason the right-click does not close the window any more. Hmm. I just tested on latest master, snippet closes for me? Does the close listener work on other widgets for you? e.g button. Do you have anything that could mess with your mouse listener?