Bug 294940 - Add "Countdown timer" presence message
Summary: Add "Countdown timer" presence message
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: git-latest
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 18:01 UTC by Elias Probst
Modified: 2017-11-24 19:49 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 18.04


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2012-02-27 18:01:12 UTC
Sometimes, I want to tell my contacts through my presence status, that I'm "Away for 45 Minutes".

What about adding a "Countdown Presence Timer", which makes it possible to actually set a presence like "Gone for 10 Minutes" which starts counting towards 0 (updating the status every minute) as soon as it is set.

It could even show something like "I should be back since 4 Minutes" and a desktop notification when there's no activity detected when the counter has reached 0.

What do you think? Do you have ideas how to implement this in a elegant way? Do you think this feature won't be used by anyone else but me? Suggestions welcome! :)
Comment 1 Martin Klapetek 2012-02-27 19:48:51 UTC
"What do you think? Do you have ideas how to implement this in a elegant way?"

Depends. If your idea is to strictly have this presence for the set time and then switch back to online on timeout, it could be done as a new ktp-kded sort-of-plugin.

"Do you think this feature won't be used by anyone else but me?"

Probably :)

It's still an interesting idea though. As a temp "workaround" - you can set your presence message to "I'll be back at 5pm" when it's 4:15pm ;)
Comment 2 Elias Probst 2012-02-29 22:04:29 UTC
(In reply to comment #1)
> It's still an interesting idea though. As a temp "workaround" - you can set
> your presence message to "I'll be back at 5pm" when it's 4:15pm ;)

That's what I'm actually doing right now, but as my colleagues are spread across the world, I have to add the timezone to it and then my colleagues always have to calculate what this actually means etc.
Comment 3 nickl 2012-07-12 00:50:25 UTC
What about making 4 or 5 sub-categories of "away"?
for example,
away,
-no definition for how long. 
-but just for a little
-for some time
-for a long time
-for about _ minutes

Elias,this last one is about your idea.The user will input the time space of being away.After the timer reaches zero, the status could just turn to away- with no extra info on it-.In this way, you put in status/presence a probable time you will be away, but just as a prediction, and not a "commitment". All this in theory..... what do you think?
Comment 4 Jamie Smith 2017-11-22 01:04:17 UTC
Git commit 20f845ce0c2e828700a79efd455f9700deafb1d7 by James D. Smith.
Committed on 22/11/2017 at 01:03.
Pushed by smithjd into branch 'master'.

Independent account presences.
Activities support.
Make unit testing compile.
Implement status message parser with Now Playing.
Status message parser unit testing.
REVIEW: 130192
Related: bug 284517, bug 293443, bug 297924, bug 334542

M  +5    -3    CMakeLists.txt
A  +208  -0    account-status-helper.cpp     [License: LGPL (v2.1+)]
A  +115  -0    account-status-helper.h     [License: LGPL (v2.1+)]
M  +31   -41   autoaway.cpp
M  +4    -8    autoaway.h
D  +0    -62   autoconnect.cpp
D  +0    -99   autoconnect.h
M  +0    -2    config/CMakeLists.txt
D  +0    -80   config/nowplaying-lineedit.cpp
D  +0    -43   config/nowplaying-lineedit.h
D  +0    -107  config/nowplaying-listwidget.cpp
D  +0    -50   config/nowplaying-listwidget.h
M  +34   -122  config/telepathy-kded-config.cpp
M  +0    -4    config/telepathy-kded-config.h
M  +10   -73   config/telepathy-kded-config.ui
M  +18   -27   screensaveraway.cpp
M  +2    -5    screensaveraway.h
M  +182  -149  status-handler.cpp
M  +24   -32   status-handler.h
A  +303  -0    status-message-parser.cpp     [License: LGPL (v2.1+)]
A  +97   -0    status-message-parser.h     [License: LGPL (v2.1+)]
M  +17   -13   telepathy-kded-module-plugin.cpp
M  +34   -22   telepathy-kded-module-plugin.h
M  +4    -1    telepathy-module.cpp
M  +0    -1    telepathy-module.h
M  +192  -236  telepathy-mpris.cpp
M  +33   -28   telepathy-mpris.h
M  +33   -11   tests/CMakeLists.txt
M  +3    -3    tests/status-handling-main.cpp
A  +132  -0    tests/status-message-parser.cpp     [License: LGPL (v2.1+)]

https://commits.kde.org/ktp-kded-module/20f845ce0c2e828700a79efd455f9700deafb1d7