maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Needed] A solution for marking text messages as read without opening them (https://talk.maemo.org/showthread.php?t=67430)

late666 2010-12-25 12:06

[Needed] A solution for marking text messages as read without opening them
 
What's the point of having the widget or Maemo shows you the contents of the text message if you still have to go in it for it to be marked as read?

Is there or can we develop a way of marking text messages as read in a more convenient way?

Like if you close the preview window of an incoming text message instead of pressing on it, it would mark it as read.

I don't even mind having some kind of separate widget to just mark all unread texts as read on your desktop or something.

late666 2010-12-26 18:10

Re: [Needed] A solution for marking text messages as read without opening them
 
Really?


No one else is bugged by this? Having to open up the text message just to make it read?

FRuMMaGe 2010-12-26 18:52

Re: [Needed] A solution for marking text messages as read without opening them
 
I would also like to see something like this. It has been bugging me for a while now

LippiVan 2010-12-26 23:23

Re: [Needed] A solution for marking text messages as read without opening them
 
totally agree with you. very annoying.

slender 2010-12-26 23:32

Re: [Needed] A solution for marking text messages as read without opening them
 
Quote:

Originally Posted by late666 (Post 903999)
What's the point of having the widget or Maemo shows you the contents of the text message if you still have to go in it for it to be marked as read?

IIRC
click little icon in bottom left on widget.

Quote:

Like if you close the preview window of an incoming text message instead of pressing on it, it would mark it as read.

I don't even mind having some kind of separate widget to just mark all unread texts as read on your desktop or something.
I´m sorry but in most use cases what you are saying here doesn´t make lot sense.

rahularora21 2010-12-27 15:09

Re: [Needed] A solution for marking text messages as read without opening them
 
wat abt deleting multiple texts in a convo??
can we select and delete more than one text in a conversation without deleting the whole of it??

Char 2010-12-28 17:57

Re: [Needed] A solution for marking text messages as read without opening them
 
if you click the number in the bottom left of the conversation widget it marks it as read.

Doctor Patch 2011-01-17 02:39

Re: [Needed] A solution for marking text messages as read without opening them
 
Quote:

Originally Posted by Char (Post 906166)
if you click the number in the bottom left of the conversation widget it marks it as read.

This misses the point. I have plenty of 'phantom' unread messages which don't get displayed by the widget. I can post screen shots if you don't believe me...

The conversations application shows that I have loads of unread messages from certain contacts but there's no way of navigating them or even ascertaining which ones they are. I suspect that the IM ones are generated by being logged in in more than one place and recieving multiple messages in a short space of time. I'm not sure how the text message ones are generated; for some contacts I've opened every single message they've ever sent to me and I still have unread messages from them. Either there are hidden messages (bug) or the unread count implementation is buggy.

What I'd like is a simple option to "mark all messages as read"
or "mark all messages from this contact as read".

Char 2011-01-17 08:16

Re: [Needed] A solution for marking text messages as read without opening them
 
that could be possible with a bit of sql magic
see: ~/.rtcom-eventlogger/el-v1.db

i did a minor bit of research
xterminal:
Code:

cd .rtcom-eventlogger
cp el-v1.db el-v1.db.bak
sqlite3 el-v1.db

don't miss the ;
(the cp step is optional, it just backs up your database in case something goes wrong)
Code:

update Events set is_read = 1 where is_read = 0 and event_type_id = 11;
.quit
killall rtcom-messaging-ui

and all your messages will be marked as read
if you simply want to see your unread messages then
Code:

select * from Events where event_type_id = 11 and is_read = 0;
will work inside sqlite3

if something wrong happens simply copy el-v1.db.bak back to el-v1.db and killall rtcom-messaging-ui, everything /should/ be fine again

Doctor Patch 2011-01-18 17:47

Re: [Needed] A solution for marking text messages as read without opening them
 
I'm not entirely convinced that event_type_id = 11 is correct above; at least it wasn't for me.

You did however point me in the direction of a solution. Thank you!

The code that solved the problem for me was the following:

Code:

update GroupCache set read_events = total_events where read_events != total_events;
.quit
killall rtcom-messaging-ui

This has removed the spurious unread marks in the conversations application. Success! However, it's not corrected the unread counts within the Conversations Inbox desktop widget which seems to be getting its unread marks from elsewhere. I'll try rebooting to see whether that helps; removing and readding the widget did not.

Char 2011-01-18 18:37

Re: [Needed] A solution for marking text messages as read without opening them
 
good to hear you managed to fix it


All times are GMT. The time now is 10:28.

vBulletin® Version 3.8.8