Bug 281206

Summary: Sometimes, long links in the chat make Kopete freeze because of horizontal scrollbar
Product: [Unmaintained] kopete Reporter: Samuel Brack <samuel.brack>
Component: Chat WindowAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Samuel Brack 2011-09-02 10:38:06 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

I'm using Kopete 1.1.0 under Archlinux with the "Hacker" theme.
When someone posts a link in a chat, where the link has to be continued in the next line, Kopete is freezing sometimes. It happens if the link causes Kopete to show the vertical scrollbar on the left side, i.e. when your buddy has posted so much, Kopete has to offer a scroll bar. Unfortunately the link itself gets a useless horizontal scrollbar, too (can't be moved, over one full width of a line). This uses one more line of the chatwindow and in that moment, the vertical bar appears. So, the link has to be rendered newly (new scrollbar needs a few px at the right end of the chat window -> text has to be moved a few characters to the left and the linebreak appears at another position in the long link). While rendering that "new" text, the horizontal scrollbar seems to disappear and the vertical scrollbar becomes useless, again. So, rerendering  the text takes place (vertical scrollbar disappears -> more space fo the long link!) but then the horizontal scrollbar reappers again.
This results in a happy loop and Kopete can't be used any more.

Reproducible: Sometimes

Steps to Reproduce:
Set theme to Hacker (don't know if related).
Begin new conversation and ask your buddy near the bottom end of the chatwindow to paste a link longer than the width of your window (Google Maps links are a good source for long links).

Actual Results:  
Kopete becomes inoperable, horizontal and vertical scrollbar interfere with each other

Expected Results:  
Kopete doesn't freeze and the horizontal scrollbar doesn't appear at all.

Workaround: Make the chat window more width than the link is long (best before receiving the long link...) and write some random text to your buddy, until the vertical scrollbar appears regularly. The resize again to original size.
Comment 1 Justin Zobel 2021-03-09 22:41:11 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 2 Christoph Cullmann 2024-09-18 18:28:23 UTC
Dear user, unfortunately Kopete is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.