Bug 283016 - File dialog and auto-completion contents are invisible
Summary: File dialog and auto-completion contents are invisible
Status: CLOSED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR major
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 07:43 UTC by gabriel.ruffieux
Modified: 2012-05-15 04:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
File dialog shot (29.03 KB, image/jpeg)
2011-09-29 07:43 UTC, gabriel.ruffieux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gabriel.ruffieux 2011-09-29 07:43:48 UTC
Created attachment 64061 [details]
File dialog shot

Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

I have those bug since I upgraded KDE to 4.7.1. It happens on the last 2 versions of Komodo Edit (now 6.1.2)

When I write php/html code, the auto-completion popup appears but list is invisible. If I write an existing var/function, I can complet it with first element by pressing TAB. I can also select an element guessing the position into the list. So apparently completion works but there something wrong when displaying it.

A similar bug happens when I want top open a project or a file. The file dialog opens but contents is invisible. I just see the current folder tree on the top and can navigate throug it but left and right columns contents are invisible. As above I can click the lists in the dark.

Reproducible: Always

Steps to Reproduce:
Example 1: Write php/html code

Example 2: From menu click Project->Open Project...


Actual Results:  
Example 1: I see a popup with elevator in case of many choice and can select invisible elements.

Example 2: I see current directory tree on the top but left and right contents are invisible but selectable.


Expected Results:  
Example 1: Auto-completion popup appears with all possible variable.

Example 2: Disk tree should be visible on the left. Folder contents should be visible on the right.

It is apparently a KDE bug because it happens since upgrade to 4.7.1. Didn't try the downgrade, tell me if you need me to do that.

You can see a similar report to ActiveState but it doesn't seem to be very reactive: http://community.activestate.com/node/7294
Comment 1 Christoph Feck 2011-09-29 12:47:51 UTC
Does this bug also appear when you are not using the Oxygen-GTK engine?
Comment 2 gabriel.ruffieux 2011-09-29 13:24:55 UTC
Le Jeudi, 29 Septembre 2011 14.47:51, Christoph Feck a écrit :
> https://bugs.kde.org/show_bug.cgi?id=283016
> 
> 
> Christoph Feck <christoph@maxiom.de> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |christoph@maxiom.de
> 
> 
> 
> 
> --- Comment #1 from Christoph Feck <christoph maxiom de>  2011-09-29
> 12:47:51 --- Does this bug also appear when you are not using the
> Oxygen-GTK engine?

Effectively, I have installed QtCurve and it is displayed correctly now, thanks 
you.
Comment 3 Hugo Pereira Da Costa 2011-09-29 14:32:41 UTC
@Ruslan
This is a problem with the inner shadow hack. Disabling it fixes the issue. 
I'll black list the application. (there is already an isKomodo in our code, so ...)
Comment 4 Hugo Pereira Da Costa 2011-09-29 14:38:32 UTC
Git commit b9b19472e7ba86efb48900e6c5324a270759d58e by Hugo Pereira Da Costa.
Committed on 29/09/2011 at 16:37.
Pushed by hpereiradacosta into branch '1.1'.

Do not enable inner shadows for komodo
CCBUG: 283016

M  +2    -7    src/animations/oxygenanimations.cpp

http://commits.kde.org/oxygen-gtk/b9b19472e7ba86efb48900e6c5324a270759d58e
Comment 5 Hugo Pereira Da Costa 2011-09-29 14:40:59 UTC
Comment #4 fixes it 
(and likely also fixes other issues reported in attachement).

So closing. 
Thanks for reporting.

@Gabriel
if you want to double check, get the oxygen-gtk code from git:
git clone -b 1.1 git://anongit.kde.org/oxygen-gtk

and try compile it (its quite straightforward, and there is an INSTALL file provided).
Comment 6 Ruslan Kabatsayev 2011-09-29 14:42:13 UTC
I wish there existed a WORKEDAROUND resolution option in this bug tracker :)
Comment 7 Hugo Pereira Da Costa 2011-09-29 14:51:07 UTC
@Ruslan: what made me decide quickly is that:

1/ animations are already disabled for OpenOffice and Komodo
2/ inner shadow is already disabled for OpenOffice,
so, "by analogy" adding Komodo to the disabling of the inner shadow code seemed natural ...

I hope you don't mind ;)
(I love the inner shadows !)
Comment 8 Ruslan Kabatsayev 2011-09-29 16:33:21 UTC
@Hugo
> I hope you don't mind ;)
Yeah, of course - since Komodo is known to be bad, blacklisting is the only thing we can do here.