GNOME Bugzilla – Bug 721763
Long channel topics cannot be fully read
Last modified: 2021-06-10 11:04:39 UTC
If you join #pitivi on freenode on a small screen width (ex: 1280x*) you may see the topic being ellipsized (truncated) in the headerbar. A possible solution for this would probably be to show a tooltip on mouseover, containing the full topic string.
*** Bug 724325 has been marked as a duplicate of this bug. ***
/topic also doesn't fully show the channel's topic.
Any suggestions on how to fix this? I was trying out a solution where I enabled line wrapping on the notification, and increased the reveal timeout depending on the length (e.g. 7 seconds if length > 100 chars). But, there is still a limit on how big a topic can fit into the notification and it also depends on the size of the chat window too.
I expect a popover here. Notifications can be ellipsized.
Couldn't the topic go in the chat log, like timestamps and join/part messages do? Not saying it should be removed from the title-bar, only that it could be shown on the chat log when you first join the channel, and when you type /topic. A mouse popover would be nice (though not accessible to keyboard users).
A popover would already be better. Now one may even think of some way to make it available as a text-field when selected, just like Web do in its header bar with Page title and URL. This way the interface may even provide a convenient way to copy it and even change it if the user as enough right. If implemented, don't forget the little downward arrow that show user there's something unfoldable. For keyboard access, ctrl+L would make it coherent with Web (and misc. others brothers) behavior.
Created attachment 336151 [details] Proposal for /topic and other command notifications I think setting linewrap on for the notifications would be a nice add for this. This way one can see long messages from command notifications which includes /TOPIC. For the header there should be another fix as discussed above. I can send the patch I have if it makes sense to you.
(In reply to Efe Gürkan YALAMAN from comment #7) > I can send the patch I have if it makes sense to you. Great, please do!
Created attachment 336152 [details] [review] appNotifications: add line wrap for simple notifications When a command output is too long, they are not readable on smaller screens. For example when you type /TOPIC command on a channel with a very long topic, the notification is printed as one line and not readable. Adding lineWrap to the notification labels properties makes the label printed out as multiple lines and all of the output is readable this way.
Review of attachment 336152 [details] [review]: Just a minor style nit: The commit message's subject should be capitalized (that is: "addNotifications: Add ..."). (If you have commit rights, just fix this up before pushing; otherwise I can push the commit for you and do the fixup myself)
Since I am new to gnome development, I do not have commit rights. I will keep that in mind on next commits I made.
Comment on attachment 336152 [details] [review] appNotifications: add line wrap for simple notifications (In reply to Efe Gürkan YALAMAN from comment #11) > Since I am new to gnome development ... Welcome!
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Polari, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/polari/-/issues/ Thank you for your understanding and your help.