Bug 422772 - [GTK2] owner-draw tree with wrong item height
Summary: [GTK2] owner-draw tree with wrong item height
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 530841
  Show dependency tree
 
Reported: 2013-11-28 10:14 EST by Thomas Singer CLA
Modified: 2018-07-12 10:17 EDT (History)
3 users (show)

See Also:


Attachments
sample code to reproduce (1.59 KB, text/plain)
2013-11-28 10:14 EST, Thomas Singer CLA
no flags Details
screenshot on OS X 10.8.5 (14.74 KB, image/png)
2013-11-28 10:15 EST, Thomas Singer CLA
no flags Details
screenshot on Debian 7.2 (Gnome 3.4.2) (5.74 KB, image/png)
2013-11-28 10:15 EST, Thomas Singer CLA
no flags Details
screenshot on Windows 8.1 (2.65 KB, image/png)
2013-11-28 10:16 EST, Thomas Singer CLA
no flags Details
screenshot on Ubuntu 12.04 (default Unity) (6.08 KB, image/png)
2013-11-28 10:16 EST, Thomas Singer CLA
no flags Details
screenshot on Ubuntu 12.04 (Unity) with flipped first/second node (6.59 KB, image/png)
2013-11-28 10:17 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 2013-11-28 10:14:41 EST
Created attachment 237803 [details]
sample code to reproduce

Please launch the attached sample on Windows (tried on Windows 8.1 64-bit), OS X (tried 10.8.5) and Linux (tried Debian 7.2 with Gnome 3.4.2, Ubuntu 12.04 with Gnome 3.4.1 and Unity). On Windows and OS X it will show the second item as two rows, on Linux as one row. On Linux obviously the item height is not updated correctly from the MeasureItem event result. BTW, when moving the double-height node at the first position, it will have the correct item height.
Comment 1 Thomas Singer CLA 2013-11-28 10:15:15 EST
Created attachment 237804 [details]
screenshot on OS X 10.8.5
Comment 2 Thomas Singer CLA 2013-11-28 10:15:56 EST
Created attachment 237805 [details]
screenshot on Debian 7.2 (Gnome 3.4.2)
Comment 3 Thomas Singer CLA 2013-11-28 10:16:16 EST
Created attachment 237806 [details]
screenshot on Windows 8.1
Comment 4 Thomas Singer CLA 2013-11-28 10:16:45 EST
Created attachment 237807 [details]
screenshot on Ubuntu 12.04 (default Unity)
Comment 5 Thomas Singer CLA 2013-11-28 10:17:28 EST
Created attachment 237808 [details]
screenshot on Ubuntu 12.04 (Unity) with flipped first/second node
Comment 6 Thomas Singer CLA 2016-03-15 10:13:01 EDT
This bug still is reproducible with SWT 4.614.
Comment 7 Eric Williams CLA 2018-05-03 11:20:06 EDT
I cannot reproduce this issue on Fedora 27, GTK3.22, and SWT master. Thomas does the issue still happen for you?
Comment 8 Thomas Singer CLA 2018-05-08 02:58:29 EDT
It only happens for me with SWT_GTK3=0, but not with SWT_GTK3=1.
Comment 9 Eric Williams CLA 2018-05-08 16:45:05 EDT
(In reply to Thomas Singer from comment #8)
> It only happens for me with SWT_GTK3=0, but not with SWT_GTK3=1.

Ah okay, looks like this is a GTK2 only issue then.
Comment 10 Eric Williams CLA 2018-07-10 13:57:44 EDT
Please note: GTK2 support for SWT is being dropped in Eclipse 4.10 / SimRel 2018-12 release. 

See the following mail for more info: http://dev.eclipse.org/mhonarc/lists/cross-project-issues-dev/msg15783.html
Comment 11 Alexander Kurtakov CLA 2018-07-12 10:17:42 EDT
Marking the bug as wontfix as no work for GTK2 issues will happen. Please reopen if you still face the issue using GTK 3.x.