Bug 446797

Summary: In search results, when text doesn't fit in the window: implement a way to read the full string (e.g. in a tooltip) on demand.
Product: [Plasma] krunner Reporter: Eridani Rodríguez <eridanired123>
Component: generalAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: eridanired123, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot showing similar looking borwser bookmarks as search results.
Screenshot showing results for time search.

Description Eridani Rodríguez 2021-12-10 17:37:23 UTC
Created attachment 144437 [details]
Screenshot showing similar looking borwser bookmarks as search results.

Currently, if a search result text is a too long sentence that doesn't fit in the window it is cut by the middle with tree dots “…” which is expected, but there is no way to read the full text if the necessity arises. 

The full text is necessary to distinguish a useful result from the rest when there are multiple similar items in the list, and whose sole differentiating factor is not at the start or the end of the string.


Showing a tooltip with the full text on mouse over or displaying it in a sort of *marquee* fashion with the text scrolling on mouse over would be two possible solutions.
Comment 1 Eridani Rodríguez 2021-12-10 17:39:18 UTC
Created attachment 144438 [details]
Screenshot showing results for time search.
Comment 2 Nate Graham 2021-12-14 18:28:04 UTC
Can also confirm. We're supposed to have a tooltip here but it doesn't seem to be working.
Comment 3 Alexander Lohnau 2021-12-14 18:36:45 UTC
The tooltip is for the subtext, not the normal text.

We also need to keep the performance in mind, because we don not want to create two tooltips for every result, even if there is no elided text.
Comment 4 Eridani Rodríguez 2023-02-14 18:07:53 UTC
I think this is no longer a problem!

Can anyone confirm and close the report?
Thanks!
Comment 5 Alexander Lohnau 2023-02-15 05:58:39 UTC
Yep, this has been fixed meanwhile