Bug 460043

Summary: Line overflow in URL preview
Product: [Applications] NeoChat Reporter: Gergely HORVÁTH <horvathg.1988>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl, james.h.graham
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: narrow window, gitlab link
normal window, rr link

Description Gergely HORVÁTH 2022-10-06 11:56:38 UTC
SUMMARY
***
Noechat linkpreview has some formatting problems.
***

I attach two screenshots to better explain the problem. In the first screenshot, with the Gitlab link, there is some overflowing which is weird, and usually don't experience it with wider windows, but how the rr link looks (long, unreadable text) is quite regular.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.11-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-11370H @ 3.30GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro 14 Gen6

NeoChat version: 
```sh
$ pacman -Qs neochat
local/neochat 22.09-1
    A client for matrix, the decentralized communication protocol
```
Comment 1 Gergely HORVÁTH 2022-10-06 11:57:06 UTC
Created attachment 152614 [details]
narrow window, gitlab link
Comment 2 Gergely HORVÁTH 2022-10-06 11:57:25 UTC
Created attachment 152615 [details]
normal window, rr link
Comment 3 James Graham 2022-10-07 18:19:28 UTC
This should be fixed on master as of this https://invent.kde.org/network/neochat/-/merge_requests/538/diffs merge. I've tried it out both the attached links and they are good now.