Adium

Opened 15 years ago

Closed 14 years ago

Last modified 11 years ago

#577 closed defect (fixed)

[Request] Away Message when Screensaver is Active

Reported by: anonymous Owned by: anybody
Milestone: Adium X 1.0 Component: Adium Core
Version: 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 (2)

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

Download all attachments as: .zip

Change History (9)

comment:1 Changed 15 years ago by David Smith

Component: AIUtilities.frameworkCore Adium
Milestone: Adium X 0.90
Version: 0.82

comment:2 Changed 15 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 15 years ago by ofri.wolfus@…

Attachment: ScreenSaverController.h added

Here is the header of ScreenSaverController

comment:3 Changed 15 years ago by lily0917@…

Im Away from the computer right now

Changed 15 years ago by ofri.wolfus@…

Attachment: IdleAtScreenSaver.diff added

Fixed based on notifications sent to NSDistributedNotificationCenter

comment:4 Changed 15 years ago by Augie Fackler

Milestone: Adium X 0.90 (Old)Adium X 0.90

comment:5 Changed 14 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 14 years ago by Evan Schoenberg

field_haspatch: 0
Resolution: fixed
Status: newclosed

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 11 years ago by Zachary West

Component: Core AdiumAdium Core
Note: See TracTickets for help on using tickets.