[Solved] A new "can't close account" problem

Thomas Baumgart thb at net-bembel.de
Wed May 5 07:05:04 BST 2021


On Dienstag, 4. Mai 2021 17:11:24 CEST Jack wrote:

> In this case, it was that the account was still mapped.  I've adjusted  
> the subject of bug 312649 to reflect that it is a wishlist for better  
> informing the user of why an account can't be closed or deleted.

That's more of a general question (see below).

> Unfortunately, I'm still not really sure of where/how in the UI this  
> can be done.  One option would be to enable those menu items/actions  
> and then just pop up a message about why it can't be done.  That might  
> be the easiest to implement, if we can't get a tooltip with the reason  
> over the disabled menu item/action button.

I was looking into that myself and thinking about the same. Today, we
block all actions when they cannot be executed successfully. In some 
cases it is obvious to the user why something is not possible in the
current context (e.g. "Edit account" when no account is selected")
whereas in others (e.g. "Close account") it is not. I am not sure what
would be a consistent way of handling this.

I tried to present a tooltip in case an action is disabled. But in case
it is disabled, the tooltip does not appear :( Yesterday, I have read
in the Qt documentation somewhere, that it is possible to display a
"What's this" message for disabled menu items/actions. I have not tried
that, but it seems a bit awkward to select the "what's this" feature and
then click on the disabled menu item.

Another idea I had was a time triggered thingy (like the trigger for a
tooltip) that will display the tooltip/what's this/help/message widget
when the mouse movement pauses over a disabled menu item. Have not
tried that either and don't know if it is possible at all over a menu.
A disabled action button seems to show the tooltip.

Thomas

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
There's a fine line between a numerator and denominator.
Only a fraction of people will get the joke.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20210505/e7b9d0fe/attachment.sig>


More information about the KMyMoney-devel mailing list