------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=120989         
           Summary: Can never be idle if compiled without libxss
           Product: kopete
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel kde org
        ReportedBy: iwilcox iwilcox me uk


Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

(This should be assigned to the libkopete component.)

I built Kopete from SVN in Debian today, after doing an "apt-get build-dep 
kopete".  It seems Debian somehow forgot to install libxss-dev, and I managed 
to build a Kopete without libxss support without noticing, which unearthed a 
bug.

In libkopete/kopeteaway.cpp, Kopete::Away::slotTimerTimeout() assumes an idle 
time of zero, then overwrites this with the idle time obtained from either 
libxss or the XIdle extension, if either are available.  Kopete then sets you 
active if the obtained idle time is less than Kopete's own recorded idle time.  
But if neither libxss nor XIdle are available, the "obtained" idle time is 
still zero, so you're permanently set active.

The patch for bug 117513 should fix this; I'm just adding a bug here for 
completeness because other Debianites building from source might see this.

Cheers,

Zak (Isaac Wilcox)
_______________________________________________
kopete-devel mailing list
[EMAIL PROTECTED]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to