Bug 299755

Summary: After latest X upgrades the Level Tools upgrade is a solid color (black, white, gray)
Product: [Applications] digikam Reporter: silviu vulcan <icebox1701+kdebugzilla>
Component: Plugin-Editor-LevelsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, matze
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.0.0
Attachments: Screenshot of the issue

Description silviu vulcan 2012-05-10 16:55:03 UTC
Created attachment 71001 [details]
Screenshot of the issue

Hi,

I am running Slackware current64 and after the latest batch of updates I noticed the level tools output is a solid color. I tried changing settings but that only affects the color output (for example it turns gray)

I recompiled Digikam 2.5.0 but it didn't help. I compiled and installed digikam 2.6.0rc and I get the same behavior.

I'll add a few details, let me know what else should I provide. I'm at a loss even where to begin searching.
xorg-server-1.12.1, 64 bit slackware current, kernel 3.2.13, i7 quad core cpu, 16gb of ram
Comment 1 caulier.gilles 2012-05-10 17:24:03 UTC
No reproducible here under Mageia Linux or MacosX or Windows. Levels Tool work perfectly with 2.6.0RC release.

Sound like a SlackWare version, probably with Qt4 library which is used to display preview effects.

Gilles Caulier
Comment 2 Marcel Wiesweg 2012-05-10 17:29:31 UTC
Due to a known bug in current git, for all color channels the input interval is reset to 0..0
Matthias is working on a fix (or is it already fixed? Matthias if you dont have time we must revert the initial patch before 2.6 final)
Comment 3 silviu vulcan 2012-05-10 17:57:32 UTC
(In reply to comment #2)
> Due to a known bug in current git, for all color channels the input interval
> is reset to 0..0
> Matthias is working on a fix (or is it already fixed? Matthias if you dont
> have time we must revert the initial patch before 2.6 final)

Thank you for the answers. Still I suspect there is another issue here as well because 2.5 used to work fine for me until some package upgrades (x related, I'm sorry I don't know for sure which, but I'm sure no updates to QT or KDE) Now, even after recompiling neither 2.5 neither 2.6rc works for me.
Comment 4 Matthias Welwarsky 2012-05-10 18:17:47 UTC
Git commit df205b9cc36c47058b77d5ccdb3ca4d236c48414 by Matthias Welwarsky.
Committed on 10/05/2012 at 20:15.
Pushed by welwarsky into branch 'master'.

Add kconf_update script to prevent black image in adjustlevels

This update script reverts adjustlevels configuration to the default
by removing the respective config group from digikamrc. It prevents
showing a black image in adjustlevels tool after updating to 2.6.0

M  +2    -0    imageplugins/color/CMakeLists.txt
A  +6    -0    imageplugins/color/adjustlevelstool.upd

http://commits.kde.org/digikam/df205b9cc36c47058b77d5ccdb3ca4d236c48414
Comment 5 silviu vulcan 2012-05-10 18:24:48 UTC
Thank you,

It must have been triggered by testing 2.6 and not slackware upgrades. Anyways I removed [adjustlevels Tool]
...
...

from ~/.kde/share/config/digikamrc and now the levels tool behaves again.