Project

General

Profile

Feature #2996

Rows below instead of unread

Added by Andreas vb over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
09/15/2016
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

An option to toggle number of unread messages in Treebar to rows below current instead.

It would be very convenient if it can display the number of messages from last to your current position, live update just like unread, but it reflect when you scroll.

Usually I see how many unread messages there are but when you click on a channel the unread number clears and you have to scroll up to the unread line marker to see when the first unread messages were, then you have to remember when the most recent was as new messages comes but you're still reading the old.

Example: 10 unread > click channel > jump to line (optionally) > scroll down once: 9 "unread" > scroll up once: 10 "unread" etc.

Thanks.

adiirc_cnt.png (655 Bytes) adiirc_cnt.png Andreas vb, 08/16/2017 05:45 PM
adiirc_cnt_sel.png (595 Bytes) adiirc_cnt_sel.png Andreas vb, 08/16/2017 06:00 PM

History

#1

Updated by Per Amundsen over 1 year ago

You can press ctrl + l to get to the unread line marker, and then just read to bottom, don't think this is worth the added complexity.

#2

Updated by Andreas vb 6 months ago

test

Per Amundsen wrote:

You can press ctrl + l to get to the unread line marker, and then just read to bottom, don't think this is worth the added complexity.

Yea, but when it disappears I need to remember the time, and it's easier to see current line.

Sometimes it's several hundreds of new lines.
If it could display lines under current position (when read) it would be much better.
It also clears when switching/clicking on channel, so you need to remember how many lines it was as well (not trusting unread line marker, fully).
Is it possible to access it via API or so, if it's possible to add it myself?

This is like the only thing I miss now, thanks. :D

#3

Updated by Per Amundsen 6 months ago

  • Category set to Interface
  • Status changed from New to Assigned
  • Assignee set to Per Amundsen

I think I understand what you want, but the complexity of this is much larger than one would think, I'll think about possible solutions.

#4

Updated by Andreas vb 6 months ago

Thanks a lot.

I wrote a similar thing in js for displaying scroll % position on a page.
Like this but line numbers instead: http://i.imgur.com/iBYPxeb.gif

#5

Updated by Per Amundsen 5 months ago

I am looking into this now, one questions, are you looking for the number of scrollbar (wrapped) lines below current, or the number of full lines?

#6

Updated by Andreas vb 5 months ago

Like it is now when it's unread I think. When you scroll it should show lines below last visible line. A bit like this gif, but reverse: http://i.imgur.com/ZLCpNyf.gif

If you're at the bottom and scroll up it should say 1, 2, 3, 4, 5... and then back down 5, 4, 3, 2, 1, 0.

#7

Updated by Per Amundsen 5 months ago

I understand that, but the lines below the scrollbar is wrapped if they are too long, so one line can become 3 lines when wrapped, do you want it to show as 1 or 3?

#8

Updated by Andreas vb 5 months ago

1 as it's the number of messages it counts, I guess. :)

#9

Updated by Per Amundsen 5 months ago

This is a veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeery long message

Notice how it's 3 lines, that means the scroollbar needs to scroll 3 lines to remove 1 unread message, that's what you want?

#10

Updated by Andreas vb 5 months ago

Yes, it's the amount of messages it should count, correct? Either is fine, do what's easiest for you, thanks. ^^

#11

Updated by Per Amundsen 5 months ago

  • Status changed from Assigned to Resolved
  • Target version changed from 2.5 to 2.9

Add for next beta in Options -> Treebar -> Show unread messages based on scroll position.

#12

Updated by Per Amundsen 5 months ago

  • Status changed from Resolved to Closed
#13

Updated by Andreas vb 4 months ago

It's working as requested, thanks!
However, it doesn't seem to update if someone writes something.
I had it on (1) and one wrote but it stayed on (1).

When it's off it's working.

Also, maybe not related, when you get highlighted it doesn't color the treebar line in your color (when active, it should override selected color).

#14

Updated by Per Amundsen 4 months ago

I fixed the count for next beta.

"Also, maybe not related, when you get highlighted it doesn't color the treebar line in your color (when active, it should override selected color)."

Colors for the active window does not change, it uses the selected background and selected text as expected.

#15

Updated by Andreas vb 4 months ago

FYI: If it's fixed in today's beta it's not working. :P

#16

Updated by Per Amundsen 4 months ago

What is not working?

#17

Updated by Andreas vb 4 months ago

See attached, it doesn't show unread at all.

#18

Updated by Per Amundsen 4 months ago

The image doesn't really explain much, what is the problem exactly, e.g is the scrollbar scrolled up in that window, does it have any new messages ?

Any steps to reproduce would be nice.

#19

Updated by Andreas vb 4 months ago

It's not selected, unsure where the scrollbar is in that case.
The channel had over 100 unread messages, see attached.

Have a channel deselected and wait for new messages, color will change but no count.

#20

Updated by Per Amundsen 4 months ago

Hm, I see, I'll look into it

#21

Updated by Per Amundsen 4 months ago

Should work as you want in latest beta.

#22

Updated by Andreas vb 4 months ago

Thanks, seems to work fine now! :)

Also available in: Atom PDF