Bug 87614 - kgamma missing from kcontrol
Summary: kgamma missing from kcontrol
Status: RESOLVED FIXED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.4.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Molkentin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 17:26 UTC by Tim Wunder
Modified: 2005-09-13 16:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Wunder 2004-08-20 17:26:41 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Unspecified Linux
OS:                Linux

Using KDE 3.3 as provided by kde-redhat.sf.net for Fedora Core 2.
NVidia AGP video card using nvidia 0611 driver.

kcm_kgamma does not work at all and gamma controls do not display in the Control Center for any users (including root). Unfortunately, it has worked for some. Please see the mailing list thread on the kde-redhat-users list 
http://sourceforge.net/mailarchive/message.php?msg_id=9237874

kcm_kgamma worked fine for me in KDE 3.2.3, and xgamma -gamma x.x works fine, so there is not an issue with the video card or monitor not allowing gamma control.

$ locate kcm_kgamma
/usr/lib/kde3/kcm_kgamma.so
/usr/lib/kde3/kcm_kgamma.la

$ rpm -qf /usr/lib/kde3/kcm_kgamma.so
kdegraphics-3.3.0-1.0.2.kde
Comment 1 Rex Dieter 2004-08-20 17:48:29 UTC
Confirmed.  I can't see any kgamma in KControl for any of my 3 test boxes.

The wierder part is that at least several people on the kde-redhat-users mailing list thread (reference above) *did* see kgamma in KControl.
Comment 2 Patrice Tremblay 2004-08-22 21:16:42 UTC
Same here...
KDE 3.3 compiled from sources,
Slackware 10.0
Comment 3 Egmont Koblinger 2004-09-01 13:16:26 UTC
Same problem for me.
The cause of the bug is that the kgamma.desktop file contains X-KDE-Settings-Hardware with uppercase 's' though all other desktop files have settings in lowercase. Turning it to lowercase too solves the problem.
Comment 4 Rex Dieter 2004-09-01 14:57:27 UTC
Appears to be a bug in redhat-menus.  When using kde-menus, gamma correctly appears in KControl->Peripherals->Display.  
Comment 5 Rex Dieter 2004-09-01 15:21:25 UTC
See also
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131436
Comment 6 Tim Wunder 2004-09-01 15:33:07 UTC
So what Rex is saying in comment #4 is that redhat-menus should be able to deal with an upper case S in the kgamma.desktop file, so the bug is with redhat-menus, not kde, or kcontrol.

In that case this bug should be closed.
Comment 7 Egmont Koblinger 2004-09-01 16:17:35 UTC
No, please!
I don't use redhat/fedora/whatever, I use self-compiled KDE.
For me kgamma doesn't appear in kcontrol, since its desktop file contains
uppercase 'S' instead of a lowercase one. Hence mainstream KDE is buggy.
Comment 8 Rex Dieter 2004-09-01 16:24:30 UTC
For me, I found that the original X-KDE-Settings-Hardware category worked just fine, though changing it to X-KDE-settings-Hardware worked too.  (??)

Egmond, as far as I'm concerned, I see no kde bug here.  Feel free to submit another bug report with your own findings if you wish.
Comment 9 Rex Dieter 2005-09-09 16:04:14 UTC
kgamma seems to have gone missing from the menus (again) in kdegraphics-3.4.2 

It appears /usr/share/applications/kde/kgamma.desktop
is missing a Categories entry, so it doesn't appear anywhere in menus.  Adding/appending
Categories=Qt;KDE;X-KDE-settings-hardware;
makes it show up again under
KControl->Peripherals->Display
as expected.

p.s.  Assigned to kcontrol since I couldn't find a kdegraphics and/or kgamma Product/component.
Comment 10 Thiago Macieira 2005-09-10 03:01:44 UTC
SVN commit 459141 by thiago:

Re-adding the missing line. It got removed in commit 355823 (probably one
broken script being run without enough attention).

Ben: please confirm this was not the intention. There are other files whose
Category lines were removed.

CCMAIL:ben@meyerhome.net
CCBUG:87614


 M  +1 -0      kgamma.desktop  


--- trunk/KDE/kdegraphics/kgamma/kcmkgamma/kgamma.desktop #459140:459141
@@ -104,3 +104,4 @@
 X-KDE-Test-Module=true
 NoDisplay=true
 Encoding=UTF-8
+Categories=Qt;KDE;Settings;X-KDE-settings-peripherals;
Comment 11 Thiago Macieira 2005-09-10 03:03:20 UTC
SVN commit 459142 by thiago:

Backport of 459141: readding the missing Categories line that got removed
in r355823.

BUG:87614


 M  +1 -0      kgamma.desktop  


--- branches/KDE/3.5/kdegraphics/kgamma/kcmkgamma/kgamma.desktop #459141:459142
@@ -104,3 +104,4 @@
 X-KDE-Test-Module=true
 NoDisplay=true
 Encoding=UTF-8
+Categories=Qt;KDE;Settings;X-KDE-settings-peripherals;
Comment 12 icefox 2005-09-13 16:43:39 UTC
On Friday 09 September 2005 9:01 pm, Thiago Macieira wrote:
> SVN commit 459141 by thiago:
>
> Re-adding the missing line. It got removed in commit 355823 (probably one
> broken script being run without enough attention).
>
> Ben: please confirm this was not the intention. There are other files whose
> Category lines were removed.


Yes it was not the intention, I recall even posting the script to core-devel 
first, I thought all of the desktop files that were broke had been fixed, but 
I guess one had slipped through.

-Benjamin Meyer

> CCMAIL:ben@meyerhome.net
> CCBUG:87614
>
>
>  M  +1 -0      kgamma.desktop
>
>
> --- trunk/KDE/kdegraphics/kgamma/kcmkgamma/kgamma.desktop #459140:459141
> @@ -104,3 +104,4 @@
>  X-KDE-Test-Module=true
>  NoDisplay=true
>  Encoding=UTF-8
> +Categories=Qt;KDE;Settings;X-KDE-settings-peripherals;