Bug 329615 - No tool-tip produced for unbalanced transaction in Ledger.
Summary: No tool-tip produced for unbalanced transaction in Ledger.
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-05 11:47 UTC by allan
Modified: 2014-01-15 17:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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