[Bug 1263078] Re: Truncate long device description in applet menu
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Tue Jan 7 14:20:42 UTC 2014
Unsubscribing sponsors team for now since the patch needs work; please
re-subscribe sponsors once the patch is ready, and I'll gladly sponsor
the change.
** Changed in: network-manager-applet (Ubuntu)
Status: New => Triaged
** Changed in: network-manager-applet (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1263078
Title:
Truncate long device description in applet menu
Status in “network-manager-applet” package in Ubuntu:
Triaged
Bug description:
With some network interface devices, nma_utils_get_device_description
could return a very long description string so you'll end up with
awkwardly wide nm applet menu that spans almost more than half of
horizontal area on your screen. On small screen device like laptop and
netbook where screen estate is limited , you don't really want this.
So it'd be a good idea to truncate the desc string if it's too long.
I'm proposing the maximum length for the desc string to be 35
characters before it gets truncated. Also truncation is done in the
middle so we don't lose the info bit near the end of the desc string.
I've prepared a patch for that. Please check the patch file that I
attached.
Screenshots
Before: http://i.imgur.com/5KC84X8.png
After: http://i.imgur.com/FQmGJ20.png
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1263078/+subscriptions
More information about the Ubuntu-sponsors
mailing list