Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 491318 - Spinner/DateTime rendered broken if created without SWT.BORDER on Gtk 3.20
Summary: Spinner/DateTime rendered broken if created without SWT.BORDER on Gtk 3.20
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.6 M7   Edit
Assignee: Alexander Kurtakov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-08 06:29 EDT by Alexander Kurtakov CLA
Modified: 2016-04-26 09:05 EDT (History)
2 users (show)

See Also:


Attachments
Spinner (104.21 KB, image/png)
2016-04-08 06:32 EDT, Alexander Kurtakov CLA
no flags Details
DateTime (109.07 KB, image/png)
2016-04-08 06:32 EDT, Alexander Kurtakov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2016-04-08 06:29:37 EDT
SWT.BORDER support was added in a hackish way by abusing gtk_entry_set_has_frame and setting it to false when no border param passed. While this may be fine for GtkEntry in general it breaks the more advanced widgets built on top of it which assume they have frame.
Comment 1 Alexander Kurtakov CLA 2016-04-08 06:32:37 EDT
Created attachment 260803 [details]
Spinner
Comment 2 Alexander Kurtakov CLA 2016-04-08 06:32:59 EDT
Created attachment 260804 [details]
DateTime
Comment 3 Eclipse Genie CLA 2016-04-08 06:42:36 EDT
New Gerrit change created: https://git.eclipse.org/r/70224
Comment 5 Alexander Kurtakov CLA 2016-04-08 06:53:37 EDT
In master now.
Comment 6 Sravan Kumar Lakkimsetti CLA 2016-04-26 02:59:26 EDT
Hi Eric,

Can you please verify this for M7 milestone build?

Thanks
Sravan
Comment 7 Eric Williams CLA 2016-04-26 09:05:20 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #6)
> Hi Eric,
> 
> Can you please verify this for M7 milestone build?
> 
> Thanks
> Sravan

Verified fixed in N20160423-1500.