Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276469 - kde-base/karm-3.5.10: karm ignores configured idle-time
Summary: kde-base/karm-3.5.10: karm ignores configured idle-time
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-07-04 14:18 UTC by Premysl Paska
Modified: 2009-11-09 10:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes the bug (idletime_setting_misuse.patch,509 bytes, patch)
2009-07-04 17:19 UTC, Premysl Paska
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Premysl Paska 2009-07-04 14:18:01 UTC
KArm ignores the setting "Detect desktop as idle after [x min]". My setting is 9 min, but KArm displays the idle notification within a minute. This started to happen after upgrading KDE from 3.5.9 to 3.5.10. (It' quite annoying regression in the 10th bugfix release :-/).

The same problem is reported here:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/289672

downgrade of the package fixes the problem (but breaks consistency of installed versions):
emerge =karm-3.5.9 --nodeps

...that means that the problem is directly in the package (not in libraries) and should be easy to track down (I suppose not much things have changed since 3.5.9)


Reproducible: Always

Steps to Reproduce:
1. Set "Detect desktop as idle after" to 9 min (say >= 5, in general)
2. Wait about a minute
3. See the idle notification

Actual Results:  
Idle notification shown too soon (ignores the setting)

Expected Results:  
Idle notification shown after the period configured in the setting

For me, this is a key feature (I use KArm for idle detection and active desktop tracing), so personally I'd set Severity to major...
Comment 1 Premysl Paska 2009-07-04 14:21:47 UTC
don't think, this might be useful in this case, but for completeness:

rocket etc # emerge --info
!!! CONFIG_PROTECT is emptyPortage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.25-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Jul 2009 12:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ http://gentoo.supp.name/ http://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aalib acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dv dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv isdnlog java jpeg kde kdeenablefinal ldap libnotify mad midi mikmod mmx mozsvg mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session sockets spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype truetype-fonts unicode usb vorbis win32codecs wxwindows x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in mime-magic cern-meta expires headers usertrack unique_id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-04 15:17:17 UTC
The important thing is: noone from kde team is working on kde3. So we need patch to apply if you want it fixed.
Comment 3 Premysl Paska 2009-07-04 17:19:50 UTC
Created attachment 196661 [details, diff]
fixes the bug

here is the patch (target path will probably need an adjustment to karm/idletimedetector.cpp)

The fix also suggests a workaround: The problem is that internal representation of the time in idle time detector has been changed from minutes to seconds, and the idle-time setting started to be wrongly treated as time in seconds not in minutes. So to set 10 min idle time, you need to enter 600 minutes :-)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 10:42:57 UTC
KDE 3.5.10 has been masked for removal, this won't be fixed...