Summary: | Tooltips take the whole horizontal screen when showing long download url | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | josip ponjavić <josipponjavic> |
Component: | view-engine: tooltip | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christof.groschke, en17cs301259, mikhail.krutov, nate |
Priority: | NOR | Keywords: | junior-jobs, usability |
Version: | 17.12.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/baloo-widgets/4623e6e5ec5308485afc2a0061f8ee0e4dafd4b1 | Version Fixed In: | 19.04.0 |
Sentry Crash Report: | |||
Attachments: |
two tooltip examples, short and long url
Maybe something like ... |
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 |
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.