As far as I know, “the original designs for trust prompts” are what I
specified in July 2013.
<https://wiki.ubuntu.com/SecurityPermissions?action=recall&rev=8#Phone>
They have never — then or since — included a header at all, let alone a
close button.

This is because a close button for a dialog is an anti-pattern: it has
ambiguous effect, and it makes it less obvious that the window is a
dialog at all. That is also why, if “a server-side decorated [dialog
has] its own close button in the title bar”, that is a bug in Mir: per
spec, no dialogs ever should. <https://goo.gl/N0pizp>

Now, an app might misbehave or hang when a trust prompt is open. But
most of the time when an app misbehaves or hangs, a trust prompt is not
open — simply because a trust prompt is not open the vast majority of
the time that any app is running! So having a different method for
force-closing the app, when a trust prompt happens to be open, would
increase cognitive load for no obvious reason. The method of force-
closing an app should be — and is — exactly the same regardless of
whether a trust prompt is open or not.

But while content hub transfers will be only a small minority of the
cases of an app hanging, an app hanging is a common case — arguably the
majority legitimate case — for wanting to force-close an app. So it
would be reasonable to have a prompt inviting you to force-close an app
whenever it’s hung for any reason, whether the hang involves any trust
prompt or not. This would be equivalent to the “The app {Name of App}
has stopped responding” dialog I specified for apport.
<https://wiki.ubuntu.com/ErrorTracker#app-hang>

Separately, if either content-hub source or destination apps hanging
causes the other to hang too, that’s probably a bug in content-hub. One
possible solution would be to cancel the transfer if nothing has
happened after a given period. Perhaps there are other solutions.

I’m marking this as Invalid because those two issues would be tackled
independently, while the change assumed in this report should not be
implemented at all.

** Changed in: ubuntu-ux
       Status: New => Invalid

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

Title:
  We need a "close" action for killing an app in a trust prompt

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1650022/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to