Review Request 125402: [kickerdash] Show ToolTip when mouse hovered on app item

Kai Uwe Broulik kde at privat.broulik.de
Wed Sep 30 00:10:21 UTC 2015



> On Sept. 29, 2015, 10:32 nachm., Eike Hein wrote:
> > There are some problems left I think:
> > 
> > a) I think the delegate should be 'toolTipDelegate' (from main.qml) as used by MenuRepresentation's SideBarItem.qml.
> > 
> > b) TextMetrics needs to have a font set - should be toolTipDelegate.font
> > 
> > Then it's done!
> 
> Kai Uwe Broulik wrote:
>     > Then it's done!
>     
>     Except that Text (and with it PlasmaComponents Label) has an "elided" property which tells you if the text would be cut off. No need for a separate TextMetrics \o/
> 
> Eike Hein wrote:
>     Not in my docs or Qt 5.5 source checkout.

it's "truncated", sorry


- Kai Uwe


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125402/#review86130
-----------------------------------------------------------


On Sept. 29, 2015, 1:55 nachm., Takahiro Hashimoto wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125402/
> -----------------------------------------------------------
> 
> (Updated Sept. 29, 2015, 1:55 nachm.)
> 
> 
> Review request for Plasma and Eike Hein.
> 
> 
> Repository: plasma-desktop
> 
> 
> Description
> -------
> 
> Now the label of app is elided on Kicker dashboard. It's good, of course.
> 
> We sometimes want to see full text of  app name, for example when the same icon is used for some apps or a app which we see first on the dashboard.
> 
> PlasmaCore.ToolTipArea is good solution, I think.
> 
> 
> Diffs
> -----
> 
>   applets/kicker/package/contents/ui/ItemGridDelegate.qml 3de7aeb 
> 
> Diff: https://git.reviewboard.kde.org/r/125402/diff/
> 
> 
> Testing
> -------
> 
> Build and Test on latest.
> 
> 1. Open dashboard
> 2. make mouse hover on app cell.
> 
> ToolTip is shown and hide on click/press enter on app cell and closing dashboard.
> 
> 
> File Attachments
> ----------------
> 
> dash_tooltip screenshot
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/09/26/f02936e2-a438-4ec4-9189-10e59fd84965__kickerdash_tooltip.png
> 
> 
> Thanks,
> 
> Takahiro Hashimoto
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150930/024b76ca/attachment.html>


More information about the Plasma-devel mailing list