Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 408503 - [GTK 3.8] Search Button in Eclipse Preference has wrong size
Summary: [GTK 3.8] Search Button in Eclipse Preference has wrong size
Status: CLOSED DUPLICATE of bug 408505
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.4   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2013-05-20 12:42 EDT by Anatoly Spektor CLA
Modified: 2013-07-23 03:05 EDT (History)
3 users (show)

See Also:


Attachments
GTK 3.8 Search bar not sized properly screenshot (15.83 KB, image/png)
2013-05-20 12:42 EDT, Anatoly Spektor CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anatoly Spektor CLA 2013-05-20 12:42:29 EDT
Created attachment 231219 [details]
GTK 3.8 Search bar not sized properly screenshot

I am using: Fedora 19 alpha, 64 bit, Eclipse Juno, GTK+ 3.8.

How to reproduce:
1. Run Eclipse with GTK3
2. Open Preferences window

Search Textbox on top has wrong size.
Comment 1 Anatoly Spektor CLA 2013-07-01 11:50:34 EDT
(In reply to comment #0)
> Created attachment 231219 [details]
> GTK 3.8 Search bar not sized properly screenshot
> 
> I am using: Fedora 19 alpha, 64 bit, Eclipse Juno, GTK+ 3.8.
> 
> How to reproduce:
> 1. Run Eclipse with GTK3
> 2. Open Preferences window
> 
> Search Textbox on top has wrong size.

This issue has to do with the same problem as #408505 . The patch proposed in the #408505 ( http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=widget_show_2 ) resolves this issue as well.
Comment 2 Alexander Kurtakov CLA 2013-07-10 14:23:27 EDT
Silenio, any thoughts on Anatoly's patch. Even if not perfect I would like to push a modified one that does the show/hide dance only for GTK 3 as this is causing too much problems.
Comment 3 Arun Thondapu CLA 2013-07-11 11:25:04 EDT
(In reply to comment #1)
> This issue has to do with the same problem as #408505 . The patch proposed
> in the #408505 (
> http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/
> commit/?h=widget_show_2 ) resolves this issue as well.

I have tested this patch on Fedora 19 and it does fix this bug as well as bug 408505. The patch looks good to me but I have not tested on other versions of GTK 3. 

Anatoly & Alex, did you happen to test on other GTK versions just to confirm it doesn't break anything else? I'll try to test and update soon.

Thanks!
Comment 4 Arun Thondapu CLA 2013-07-11 14:10:41 EDT
I tested the patch on Ubuntu 12.04 with GTK 3.4.2 and also with GTK 2.24.10 and it seems to be working fine.
Comment 5 Alexander Kurtakov CLA 2013-07-11 14:16:36 EDT
In this case if noone objects, I'll push it tomorrow to master.
It would be very good to backport to 4_3 too.
Comment 6 Alexander Kurtakov CLA 2013-07-23 03:05:49 EDT

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