Feature #2996
closedRows below instead of unread
Added by Andreas vb about 8 years ago. Updated about 7 years ago.
0%
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 |
Updated by Per Amundsen about 8 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.
Updated by Andreas vb over 7 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
Updated by Per Amundsen over 7 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.
Updated by Andreas vb over 7 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
Updated by Per Amundsen over 7 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?
Updated by Andreas vb over 7 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.
Updated by Per Amundsen over 7 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?
Updated by Andreas vb over 7 years ago
1 as it's the number of messages it counts, I guess. :)
Updated by Per Amundsen over 7 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?
Updated by Andreas vb over 7 years ago
Yes, it's the amount of messages it should count, correct? Either is fine, do what's easiest for you, thanks. ^^
Updated by Per Amundsen over 7 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.
Updated by Per Amundsen over 7 years ago
- Status changed from Resolved to Closed
Updated by Andreas vb over 7 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).
Updated by Per Amundsen over 7 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.
Updated by Andreas vb over 7 years ago
FYI: If it's fixed in today's beta it's not working. :P
Updated by Andreas vb over 7 years ago
- File adiirc_cnt.png adiirc_cnt.png added
See attached, it doesn't show unread at all.
Updated by Per Amundsen over 7 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.
Updated by Andreas vb over 7 years ago
- File adiirc_cnt_sel.png adiirc_cnt_sel.png added
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.
Updated by Per Amundsen about 7 years ago
Should work as you want in latest beta.