hledger
hledger copied to clipboard
hledger-web: popup info box is out of screen
hledger 1.27.1, Linux or older version
First, there is no way to check/display hledger version from web interface. Maybe it could be added to "?" button for help...
Second, popup info box about transaction can be partly out of screen. Select some account, chart with balance history is displayed. Move mouse pointer over some transaction in the chart, info box is displayed. When the transaction is in the left side of the chart, part of popup info box is out of the screen. Maybe it depends on the screen resolution, how serious this issue is. I see it on laptop with 1024x768. Popup info box is always displayed on the left from the mouse pointer, so when mouse is closer to left edge of the screen, it is "bigger" issue.
There is other popup info box when I hover mouse over transactions bellow the chart. This popup info box with transaction details is smart, it is placed in the way that it is fully visible. This is good.
I start hledger for this issue in this way: hledger web
or hledger web -- --serve
Thanks for the report.
First, there is no way to check/display hledger version from web interface. Maybe it could be added to "?" button for help...
Good idea, for now you can see it by manually visiting /version
@PSLLSP could you please post a screenshot with the popup? Make sure to blur your transactions before :)
I retested with hledger 1.31 and I cannot replicate the popup issue. It is even possible that it was not hledger issue but browser issue; www browser is responsible to displaying popup windows. It could be triggered by small screen (older notebook with display 1024x768)
This is OK:
This one is OK too:
I can replicate it! Mouse has to hover over transaction in the chart, popup is white in that case and it can get out of screen/window:
Ok, I can reliably reproduce this issue myself. It looks like the popup will only display to the left or the right of the pointer and if it is too large it gets clipped.
I'll try to have a look and see if I can help fix this issue.