installshield_freak, thanks for that work. But as you note in a code
comment, it's still not accurate: it would say "Installation in
Progress..." when it's actually still waiting to install. And I'm not
sure if I'm reading it correctly, but a test asserting that the text
does not equal "Installation in Progress" without ellipsis isn't useful
if the text is never that, but sometimes "Installation in Progress..."
with Ascii dots.

Beyond that, though, it doesn't look right to me that text like
"Installation in Progress..." would be embedded into the Unity code at
all. I think Unity should be getting the status text for the operation
directly from Aptdaemon.
<https://wiki.ubuntu.com/SoftwarePackageOperations#operations> So if
Aptdaemon says the status is "Waiting to install", the tooltip says
"Waiting to install". If Aptdaemon says the status is "Downloading… (4.7
MB of 5.3 MB)", the tooltip says "Downloading… (4.7 MB of 5.3 MB)". If
Aptdaemon says the status is "Installing…", the tooltip says
"Installing…". And so on.

Only once the operation completes should Unity either change the tooltip
to the application name (if it was a successful installation) or remove
the item altogether (if it was a removal or an unsuccessful
installation).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/966189

Title:
  Launcher tooltip says "Waiting to install" when application is
  actually installing

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/966189/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to