Project

General

Profile

Actions

Feature #2996

closed

Rows below instead of unread

Added by Andreas vb over 7 years ago. Updated over 6 years 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.


Files

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
Actions #1

Updated by Per Amundsen over 7 years 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.

Actions #2

Updated by Andreas vb over 6 years 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

Actions #3

Updated by Per Amundsen over 6 years 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.

Actions #4

Updated by Andreas vb over 6 years 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

Actions #5

Updated by Per Amundsen over 6 years 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?

Actions #6

Updated by Andreas vb over 6 years 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.

Actions #7

Updated by Per Amundsen over 6 years 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?

Actions #8

Updated by Andreas vb over 6 years ago

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

Actions #9

Updated by Per Amundsen over 6 years 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?

Actions #10

Updated by Andreas vb over 6 years ago

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

Actions #11

Updated by Per Amundsen over 6 years 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.

Actions #12

Updated by Per Amundsen over 6 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Andreas vb over 6 years 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).

Actions #14

Updated by Per Amundsen over 6 years 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.

Actions #15

Updated by Andreas vb over 6 years ago

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

Actions #16

Updated by Per Amundsen over 6 years ago

What is not working?

Actions #17

Updated by Andreas vb over 6 years ago

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

Actions #18

Updated by Per Amundsen over 6 years 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.

Actions #19

Updated by Andreas vb over 6 years 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.

Actions #20

Updated by Per Amundsen over 6 years ago

Hm, I see, I'll look into it

Actions #21

Updated by Per Amundsen over 6 years ago

Should work as you want in latest beta.

Actions #22

Updated by Andreas vb over 6 years ago

Thanks, seems to work fine now! :)

Actions

Also available in: Atom PDF