Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344315 - Eclipse 4.1 doesn't paint properly on KDE 4.6.2
Summary: Eclipse 4.1 doesn't paint properly on KDE 4.6.2
Status: RESOLVED DUPLICATE of bug 333965
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 12:52 EDT by Stephan Herrmann CLA
Modified: 2011-04-29 13:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-04-29 12:52:58 EDT
This is a fresh install of Kubuntu 11.4 with
 - KDE 4.6.2
 - java version "1.6.0_22"
   OpenJDK Runtime Environment (IcedTea6 1.10.1) (6b22-1.10.1-0ubuntu1)
   OpenJDK Server VM (build 20.0-b11, mixed mode)
 - GTK exists in these versions:
   - 3.0.8
   - 2.24.4

On this system a freshly installed Eclipse 4.1 (I20110425-0200) has severe
drawing problems:

Initially all view toolbars are empty, buttons appear only when the mouse
moves over them (and stay visible from there on). The main toolbar is not
affected.

Once I start to create projects and files, views sporadically lose their
content (completely or partially). When placing the focus into a tree-based
view, it is painted correctly, but may disappear again when the view loses
the focus.
Text views ofter appear with partial content, i.e., some lines visible
others not. I've even observed partially garbled lines (in the console view).

Since this system has just been installed I hope that no weird configurations
of mine are the cause but the effect should be reproduceable on other
machines, too. However, an older installation with Kubuntu 10.4 and KDE 4.4.5
does not exhibit these issues.
Comment 1 Remy Suen CLA 2011-04-29 13:00:30 EDT
Hi Stephan, thanks for testing Eclipse 4.1.

Are you on a 64-bit machine? Do your findings match the screenshots posted on bug 333965?
Comment 2 Stephan Herrmann CLA 2011-04-29 13:46:53 EDT
(In reply to comment #1)
> Are you on a 64-bit machine? 

Yup, 64-bit machine but 32-bit OS and software.

> Do your findings match the screenshots posted on
> bug 333965?

Again: yes, looks pretty similar. Even more: the workaround using
  export GDK_NATIVE_WINDOWS=true
fixes the issue for me.

Closing as duplicate, but with a word on styling: all buttons now look ugly
with explicit square gray background on various surrounding backgrounds.
May be bad interaction with KDE styles from the environ simulated within GTK?

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