Version: 4.6.0 (using KDE 4.4.5) OS: Linux when using the 'amount entry widget' in the ledger view, it hangs off the screen Reproducible: Always Steps to Reproduce: open ledger view select a transaction to edit or start a new transaction for entry click on the `calculator` icon next to the amount field Actual Results: numeric entry widget hangs off screen leaving the bottom buttons barely clickable Expected Results: all buttons should be fully visible upon first click, numeric entry widget hangs off screen leaving the bottom buttons barely clickable. upon second click, widget disappears (as I would expect). upon 3rd click, the widget is placed where all buttons are fully accessable
Created attachment 64411 [details] showing widget hanging off my screen
What distro and window manager are you using? In my case (with 4.6.1) the widget always appears so that it is fully visible, with the one exception that if I move the KMM window so it is almost totally off the screen on the left then the widget hangs off the left side of the screen. Also, does it matter whether your KMM window is maximized or not?
I cannot recall from the image that I provided and currently having kernel panics so I cant run KMM.... However, it would be the rarest of occasions that I was not using KMM maximized so I cannot be certain if this problem is present if/when KMM is less than maximized. None the less, it shouldn't ever be falling off the screen, should it? At the time of creating the bug report I was running: Version: 4.6.0[compiled for source] (using KDE 4.4.5) OS: Mandriva 10.2
Is this still happening?
Issue is still present with kmymoney 4.8.1 on editing a transaction for the first click on the calculator button if the right side of KMyMoney window is aligned with the right border of the screen. Reopening the calculator the second time on editing the same transaction shows the calculator on a different position without clipping.
(In reply to Ralf Habacker from comment #5) Distribution is openSUSE Leap 42.3/KF5 with kwin_x11 and plasmashell
The calculator position is set in void kMyMoneyEdit::calculatorOpen(QKeyEvent* k) where on the first setup the size of the calculator frame is (100x30) and on further setup it is (236x176). It looks that the size returned on the first setup is too small and results into the wrong position.
Git commit 6a221524755177087fb1dcd110af1bc5f592f61a by Ralf Habacker. Committed on 31/05/2018 at 20:44. Pushed by habacker into branch '4.8'. Fix 'when using the "amount entry widget" in the ledger view, it hangs off the screen' FIXED-IN:4.8.3 M +16 -1 kmymoney/widgets/kmymoneyedit.cpp https://commits.kde.org/kmymoney/6a221524755177087fb1dcd110af1bc5f592f61a
Git commit 84fe5ab427806614c233b60f4d65b187c538741b by Thomas Baumgart. Committed on 06/10/2018 at 16:47. Pushed by tbaumgart into branch '5.0'. Fix placement of calculator The calculator is placed in the middle of the screen when it is first opened after transaction edit started. If closed and re-opened in the same transaction edit session it is placed correctly. This change places the calculator always in the right position next to the amount edit widget. Fix taken from commit 6a221524755177087fb1dcd110af1bc5f592f61a M +16 -1 kmymoney/widgets/kmymoneyedit.cpp https://commits.kde.org/kmymoney/84fe5ab427806614c233b60f4d65b187c538741b