| Summary: | Problems setting alpha on a shell in Ubuntu. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Wim Jongman <wim.jongman> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov, ericwill |
| Version: | 3.7.2 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
Linux-GTK Version: ii libgtk2-perl 1:1.221-4ubuntu2 Perl interface to the 2.x series of the Gimp Toolkit library ii libgtk2.0-0 2.20.1-0ubuntu2.1 The GTK+ graphical user interface library ii libgtk2.0-bin 2.20.1-0ubuntu2.1 The programs for the GTK+ graphical user interface library ii libgtk2.0-cil 2.12.9-4 CLI binding for the GTK+ toolkit 2.12 ii libgtk2.0-common 2.20.1-0ubuntu2.1 Common files for the GTK+ graphical user interface library Can you still reproduce with latest SWT? (In reply to Alexander Kurtakov from comment #2) > Can you still reproduce with latest SWT? Closing as there hasn't been a response in awhile. Please reopen this ticket if the issue continues on 4.8 and GTK3.22. |
I have an RCP application running that fades out a shell. So I do the following shell.setAlpha(255) Runnable { alpha = shell.getAlpha(); alpha = alpha - 10; shell.setAlpha(alpha); if(alpha > 0){ syso(alpha) timerExec(this);} else shell.dispose(); } This works fine in windows and in my copy of ubuntu. However, I have an ubuntu installation that keeps printing 245 and therefore never leaves the loop. I can solve it by not relying on getAlpha but it is silly. This is the ubuntu version: Gnome : Version: 2.30.2, Distributor: Ubuntu , Build Date: 06/25/2010