Display progress while receiving mail

Bug #671569 reported by Danielle Foré
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Postler
Fix Released
High
Cris Dywan

Bug Description

There is currently no way to see if Postler is sending or receiving messages.

A progressbar in the bottom left would solve this quite nicely :D

Revision history for this message
Allen Lowe (lallenlowe) wrote :

something SORTA like this could pop up when you click on the progress bar

Changed in postler:
importance: Undecided → High
Allen Lowe (lallenlowe)
Changed in postler:
status: New → Confirmed
Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

This is a tricky one...
i have not found a way to parse mbsync's output in realtime mbsync.
The general idea would be this: monitor the output and when it changes, parse it and display it... all inside an async method which is fired up whenever sending/receiving is done.

Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

this adds a very primitive status indicator to postler for receiving messages,
it still needs lots of love, also the escape characteres that isync uses to display progress of fetching messages needs to be dealt with.

Changed in postler:
assignee: nobody → Bernd Prünster (jesusmccloud)
status: Confirmed → In Progress
Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

update:

Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

beautification

Revision history for this message
Cris Dywan (kalikiana) wrote :

Updated patch, with fixed scrolling and whitespace.

The command line doesn't respect POSTLER_MBSYNC, that will need to be fixed.

As discussed, we'll leave this sleep until we have a DBus service running, and put it in there.

Revision history for this message
Cris Dywan (kalikiana) wrote :

The receiving part is in principle working. It needs some polishing, the reported number of new messages is often wrong.

See bug 671663 for related work on sending.

summary: - Display progress for actions
+ Display progress while receiving mail
Changed in postler:
assignee: Bernd Prünster (jesusmccloud) → nobody
Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

fixes message count in status label

Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

fixed i18n capability

Revision history for this message
Cris Dywan (kalikiana) wrote :

Number fix committed.

Revision history for this message
Danielle Foré (danrabbit) wrote :

My current complaints are:

* There is no spacing between the progressbar and the sides of the sidebar.
* Text should not be "122/300" it should be "122 of 300"

Cris Dywan (kalikiana)
Changed in postler:
milestone: none → 0.1
Revision history for this message
Bernd Prünster (jesusmccloud) wrote :

mbsync seems to fetch multiple folders for big inboxes,
this leads to wrongly displayed progress (wrong folder name to be precise):
the progress indicator "jumps" from
this http://img228.imageshack.us/i/screenshot1216201010554.png/
to
this http://img716.imageshack.us/i/screenshot1216201010533.png/
back and forth.
mabye another simple mbsync patch is needed (or code cahnges if mbsync doesnt hanlde parallel fetching and postler allows multiple mbsync instances)

Revision history for this message
Cris Dywan (kalikiana) wrote :

Postler will run n mbsync processes in parallel if you have n accounts. We are using the same variables. So it is quite logically wrong. I didn't try to tackle this before we sort out the trouble with passing lambdas, which happened with sending.

Cris Dywan (kalikiana)
Changed in postler:
assignee: nobody → Christian Dywan (kalikiana)
Revision history for this message
Cris Dywan (kalikiana) wrote :

I added 4 pixels padding to the folder treeview and made it say 'Retrieving x of y'.

Cris Dywan (kalikiana)
Changed in postler:
status: In Progress → Fix Committed
Cris Dywan (kalikiana)
Changed in postler:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.