Created attachment 110372 [details] two tooltip examples, short and long url Download a video from youtube and then hover over it in dolphin and the tooltip takes a lot of screen space. In attachment are two examples, one showing a normal tooltip with short url and the other with long url.
This was made visible by implementing the feature requested in Bug 386261. We should find some way to clip ugly URLs or only display a substring or something.
Created attachment 111783 [details] Maybe something like ... What about showing only the domain address and than as many parts of the subdirs as possible and cutting the rest to something like this ? https://neon.kde.org/download/.../.../ Limiting the whole URL to an absolute maximum. Just a quick shot, I have added a really trivial example.
Hi! I've created a patch for this issue here: https://phabricator.kde.org/D19988
Git commit 4623e6e5ec5308485afc2a0061f8ee0e4dafd4b1 by Nate Graham, on behalf of Mikhail Krutov. Committed on 24/03/2019 at 18:00. Pushed by ngraham into branch 'Applications/19.04'. Fix lengthy URLs in tooltips Summary: BUG: 389963 Test Plan: To reproduce the issue (https://bugs.kde.org/show_bug.cgi?id=389963): xattr -w user.xdg.origin.url "VeryLongUrlWithoutSpaces" file.name Reviewers: #dolphin, ngraham Reviewed By: #dolphin, ngraham Subscribers: ngraham, elvisangelaccio, broulik, #baloo Tags: #baloo Differential Revision: https://phabricator.kde.org/D19988 M +12 -4 src/widgetfactory.cpp https://commits.kde.org/baloo-widgets/4623e6e5ec5308485afc2a0061f8ee0e4dafd4b1