Adium

Ticket #577 (closed defect: fixed)

Opened 7 years ago

Last modified 3 years ago

[Request] Away Message when Screensaver is Active

Reported by: anonymous Owned by: anybody
Milestone: Adium X 1.0 Component: Adium Core
Version: 0.82 Severity: normal
Keywords: Cc:
Patch Status:

Description

When I'm at the office I have to step away from my desk quite a lot. When I do, I use exposé to activate my password-protected screen saver and off I go. It never fails that when I arrive back an employee has complained that I did not set an away message when I walked away.

No, it's not that hard to set an away message when I step away. But it would make life a little nicer if Adium assumed idle status when the screensaver became active. It'd be neat if we could have a specific away message for when the screensaver was active, but that's a long shot. If I can go idle automatically when my screen saver activates I'll be a real happy guy!

Attachments

ScreenSaverController.h Download (939 bytes) - added by ofri.wolfus@… 7 years ago.
Here is the header of ScreenSaverController
IdleAtScreenSaver.diff Download (2.0 KB) - added by ofri.wolfus@… 7 years ago.
Fixed based on notifications sent to NSDistributedNotificationCenter

Change History

comment:1 Changed 7 years ago by catfish_man

  • Version set to 0.82
  • Component changed from AIUtilities.framework to Core Adium
  • Milestone set to Adium X 0.90

comment:2 Changed 7 years ago by ofri.wolfus@…

I'm not sure this is the *right* way to do this, but it can be done by asking ScreenSaverController whether the screen saver is running or not, while we check if the user is idle. The only problem is that ScreenSaverController is a private class of the ScreenSaver framework. Do a class-dump and get the header file. Thoughts?

Changed 7 years ago by ofri.wolfus@…

Here is the header of ScreenSaverController

comment:3 Changed 7 years ago by lily0917@…

Im Away from the computer right now

Changed 7 years ago by ofri.wolfus@…

Fixed based on notifications sent to NSDistributedNotificationCenter

comment:4 Changed 7 years ago by durin42

  • Milestone changed from Adium X 0.90 (Old) to Adium X 0.90

comment:5 Changed 7 years ago by cheesy

I've been hoping for this for some time, however I'd really like a 'dedicated message' - if my screensaver is on I'm definitely not looking at my screen. If I'm idle, I might just be watching TV.

comment:6 Changed 6 years ago by evands

  • Status changed from new to closed
  • Resolution set to fixed
  • field_haspatch set to 0

Haha, Ofri accidentally commited his patch in [12974] while adding an address book search window. The patch immediately marks us as idle when the screen saver becomes active.

comment:7 Changed 3 years ago by zacw

  • Component changed from Core Adium to Adium Core
Note: See TracTickets for help on using tickets.