Bug 67283 - Oracle Installer doesn't draw window contents correctly with new kwin
Summary: Oracle Installer doesn't draw window contents correctly with new kwin
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 67310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-05 11:53 UTC by Peeter Russak
Modified: 2017-03-15 21:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Descriptive image (27.28 KB, image/jpeg)
2003-11-05 11:55 UTC, Peeter Russak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peeter Russak 2003-11-05 11:53:02 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.3.1 (SuSE Linux)  
OS:          Linux

Oracle's Java-based Installer application doesn't draw contents in it's window correctly when run in KDE 3.2 beta. Widgets are there, but window is not drawn correctly, so it draws only a part of window, also buttons are not drawn in some message boxes of Installer. Shape of area that is drawn changes when I change size of window, so I can describe exacyly how it acts wrong. Installer works correctly when used in KDE 3.1.x. I'll upload image to show you how it looks like. To reproduce you must run runInstaller script from any Solaris/Linux Oracle product install media (you can download  freely software from their web). I saw the problem with installer of Oracle iAS 9.0.2 for Linux, but Installer is generic tool for installing any Oracle product, so it should be possible to test with other products too.
Comment 1 Peeter Russak 2003-11-05 11:55:26 UTC
Created attachment 3038 [details]
Descriptive image

As you see only part of window is drawn. All widgets are there and blindlt
usable, but not visible.
Comment 2 Maksim Orlovich 2003-11-05 19:56:14 UTC
*** Bug 67310 has been marked as a duplicate of this bug. ***
Comment 3 Lubos Lunak 2003-11-21 18:08:38 UTC
Please provide me with URL what to download. The packages available at oracle.com are way too huge to guess and try.
Comment 4 Peeter Russak 2003-11-28 08:44:06 UTC
I hope Oracle won't kill me if I publish Oracle Installer's installer bundle. You can grab this 35MB bundle from http://buffy.it.da.ut.ee:8080/p2878462_210_LINUX.zip
Follow the instructions in readme.html (jar -xvf oui220180_linux.jar;
chmod -R +x Disk1;cd Disk1/install/linux;./runInstaller) and after Installer startup you should see that not anything is where it should be.
Comment 5 Lubos Lunak 2003-12-04 13:21:21 UTC
Subject: kdebase/kwin

CVS commit by lunakl: 

Fix Oracle Installer using 'Java(tm): Write once, run somewhere'.
It looks like if _KWIN_RUNNING atom is detected, then it does some strange
XTranslateCoordinate stuff and gets it wrong with current KWin
(and even with FVWM, if the atom exists). However, if _ICEWM_WINOPTHINT
atom also exists, it works fine *shrug*.
CCMAIL: 67283-done@bugs.kde.org


  M +4 -0      atoms.cpp   1.20


--- kdebase/kwin/atoms.cpp  #1.19:1.20
@@ -66,4 +66,8 @@ Atoms::Atoms()
     atoms[n] = &fake;
     names[n++] = (char *) "_DT_SM_WINDOW_INFO";
+    
+    Atom dummy;
+    atoms[n] = &dummy;
+    names[n++] = (char *) "_ICEWM_WINOPTHINT";
 
     XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return );