[Bug 1263078] [NEW] Truncate long device description in applet menu
Launchpad Bug Tracker
1263078 at bugs.launchpad.net
Sun Dec 22 03:49:54 UTC 2013
You have been subscribed to a public bug by Amir (stalkerboi):
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
** Affects: network-manager-applet (Ubuntu)
Importance: Undecided
Status: New
** Tags: long-device-desc too-wide-menu
--
Truncate long device description in applet menu
https://bugs.launchpad.net/bugs/1263078
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list