Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109421

Summary: Klaptopdaemon: ever growing .xsession-errors
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2005-10-16 00:55:02 UTC
It is a annoying bug (description stolen from KDE bugzilla):

The.xsession-errors file has grown periodically with "QFile empty
file name warnings" and kept harddisk running.
This happened only if an button action for the LID button was checked in
klaptop. On my notebook only the LID button seems to give status (for power and
sleep buttons,
the /proc/acpi/button/*/*/status files are missing - seems to be pretty standard
since the buttons generate normal ACPI events).
Missing acpi status file results in empty QString acpi_power_name in file
portable.c.
The warnings come then from the QFile open() call in laptop_protable::get_button().



Here are the solutions:
http://bugs.kde.org/show_bug.cgi?id=103437
http://bugs.kde.org/attachment.cgi?id=13001&action=view

Maybe these fixes could be included in portage ?


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-19 07:36:32 UTC
Applied in kdeutils-3.4.3-r1/klaptopdaemon-3.4.3-r1. Thanks.