! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Make the pango markup more obvious for users
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Andre Miranda editbugs 2015-03-16 03:43:11 CET
Created attachment 6085 
Patch tooltip and secondary icon

As we have discussed in the mailing list and $xfce-dev, we notice that the ability to use custom formats with pango markup seems like a hidden option for some users.
Besides the current tooltip in the custom text entry, we need something more compelling, to let the user know about this and "lure" him to http://docs.xfce.org/xfce/xfce4-panel/clock#label_and_tooltip_markup.
The attached patch uses a secondary icon and a tooltip.
Maybe a popover(GTK3) instead of the tooltip, with a label(same text of tooltip) and button that opens the docs.
Comment 1 Andre Miranda editbugs 2015-03-16 03:44:15 CET
Created attachment 6086 
Patch new preset

Another suggestion is to create add a new preset that uses pango markup.
Comment 2 Simon Steinbeiss editbugs 2018-05-01 08:26:28 CEST
Not sure I understand the first patch, the tooltip already says "See the "Help" page for additional information."
I guess we can make it say "See the "Help" page for additional information and further examples."

I tried your patch and it may be Gtk+3 playing tricks on me or whatnot, but I don't see a secondary icon in the tooltip and nothing seems clickable.
Comment 3 Andre Miranda editbugs 2018-05-01 17:48:21 CEST
Created attachment 7697 
Updated patch

Updated patch.

Nowadays I have no hard feelings about this, it's just an unpretentious suggestion to improve discoverability (three years ago I had to use google to find this out). The secondary icon still requires the user to hover the cursor for a moment, but I think is easier to find its tooltip than the entry itself. Clicking the button and get a popover would be even better, at the same time I think it would be clutter.

Anyway, your call to pick or drop it.
Comment 4 Git Bot editbugs 2018-05-04 00:30:50 CEST
Andre Miranda referenced this bugreport in commit f017232ee5a6f9fd9e49309b925ac0ae99c5ca47

clock: Improve discoverability of tooltip help-texts (Bug #11708)

https://git.xfce.org/xfce/xfce4-panel/commit?id=f017232ee5a6f9fd9e49309b925ac0ae99c5ca47
Comment 5 Simon Steinbeiss editbugs 2018-05-04 00:31:41 CEST
Looks nice, thanks for rebasing and improving the patch!

Bug #11708

Reported by:
Andre Miranda
Reported on: 2015-03-16
Last modified on: 2018-05-04

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
4.12.0

Attachments

Patch tooltip and secondary icon (1.46 KB, patch)
2015-03-16 03:43 CET , Andre Miranda
no flags
Patch new preset (2.23 KB, patch)
2015-03-16 03:44 CET , Andre Miranda
no flags
Updated patch (4.99 KB, patch)
2018-05-01 17:48 CEST , Andre Miranda
no flags

Additional information