Bug 329615

Summary: No tool-tip produced for unbalanced transaction in Ledger.
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description allan 2014-01-05 11:47:54 UTC
Since 4.6.4 tool-tips have ceased working in Ledger view for an imported transaction which is missing a category.
Register::event(QEvent* event) was not receiving any tool-tip events.  I found that they were being intercepted by bool KGlobalLedgerView::eventFilter(QObject* o, QEvent* e).
This was because of some code I had added as part of -
Git commit 9cd5efcea19580b89c13408697de7927fb8971cc by Allan Anderson.
Committed on 21/05/2013 at 21:41.
Pushed by allananderson into branch 'master'.
Improve tooltip visibility in error situations.
Removing the offending instructions allows the Register now to receive the tooltip events and show the missing tool-tip.
Strangely, there appears to be no adverse effect on the original missing tool-tips, so far as I have found.  I'll do more testing, and, assuming all seems OK, I'll commit in a week or so.


Reproducible: Always

Steps to Reproduce:
1. Import a transaction with no category.
2. The transaction will show the Attention icon, but no explanatory tool-tip, when the mouse hovers.
3.
Actual Results:  
AS above.

Expected Results:  
A tool-tip should appear.
Comment 1 allan 2014-01-15 17:08:11 UTC
Git commit c3124ff23744711a2a7b6c0b2276e44f35e76433 by Allan Anderson.
Committed on 15/01/2014 at 13:28.
Pushed by allananderson into branch 'master'.

M  +0    -8    kmymoney/views/kgloballedgerview.cpp

http://commits.kde.org/kmymoney/c3124ff23744711a2a7b6c0b2276e44f35e76433