Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no auto-scrolling nor hint that new messages arrived below viewport #382

Closed
djasa opened this issue Sep 2, 2022 · 5 comments · Fixed by #399
Closed

no auto-scrolling nor hint that new messages arrived below viewport #382

djasa opened this issue Sep 2, 2022 · 5 comments · Fixed by #399

Comments

@djasa
Copy link

djasa commented Sep 2, 2022

srain (or at least my installation) does nothing with channel/query messages viewport when new messages arrive. There's

  • neither autoscroll placing first unread message towards the top of viewport and indication there are even newer messages below viewport,
  • nor there is autoscroll to the very bottom of messages (that'd conversely deserve some indication that some unread messages are already out-of-view above)

Switching to app from notification only to see the same message view as last time is pretty awkward.

Version: 1.4.0/flatpak @ fedora 37

@SilverRainZ
Copy link
Member

Actually, srain does something. If the window is activated, it assumes your eyes focus on it, so scroll the message list to the bottom, otherwise, it does nothing.

GTK3's list box is strange in viewport control, adding an unread message delimiter may helpful, also, it may not be coming soon.

@djasa
Copy link
Author

djasa commented Sep 5, 2022

Actually, srain does something. If the window is activated, it assumes your eyes focus on it, so scroll the message list to the bottom, otherwise, it does nothing.

My typical modus operandi is that IRC client is maximized on different virtual desktop. So I can well imagine that gnome-shell may somehow let it think that it's activated while in fact it is not (and I only jump to it via notification or switching the desktop depending if my fingers are on keyboard or on touchpad/mouse).

@zaitcev
Copy link

zaitcev commented Dec 15, 2022

It is annoying indeed.

BTW, a related bug is that the OSD with the navigation does not always appear. In the attached screencap, you can see the scrollbar indicate (barely - the main bug is that this indication is not enough) that something is outside the viewport, but the OSD is missing.

x41_srain_no_osd

@zaitcev
Copy link

zaitcev commented Dec 15, 2022

It is my opinion that Srain should track down whenever possible, for all windows, and only stick to a position in the scrollback if and only if the user initiated this action by scrolling.

@SilverRainZ
Copy link
Member

It is my opinion that Srain should track down whenever possible, for all windows, and only stick to a position in the scrollback if and only if the user initiated this action by scrolling.

Looks better than the current strategy. How about placing a widget for indicating the user's last read position?

BTW, a related bug is that the OSD with the navigation does not always appear. In the attached screencap, you can see the scrollbar indicate (barely - the main bug is that this indication is not enough) that something is outside the viewport, but the OSD is missing.

This indicator is only shown when any message is selected, do you think it should show up more often?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants