- Status Unconfirmed
- Percent Complete
- Task Type Feature Request
- Category Engine → User Interface
- Assigned To No-one
- Operating System Linux
- Severity Low
- Priority Very Low
- Reported Version 0.7.25 Unreal
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#7530 - popup window in inventory in some slots overlaps inventory contents
Since a while PSUnreal has a pop window in inventory that appears then hovering with the mouse pointer over inventory slots with items or containers in it.
It is a nice feature.
However in the top right slots of the inventory the popup window overlaps the slot the mouse pointer is over and slots in the neighborhood of it. It thus covers part of the inventory content which makes it more difficult to navigate to the right items.
# How to reproduce
- Move inventory window to the lower right corner of the PlaneShift Unreal window or screen.
- Put some items or containers in the top right inventory slots
- Hover with the mouse pointer over them.
# Actual results
When hovering over the top right slot the popup window covers 4 slots in the upper 2 rows seen from the top right corner of the inventory slot area.
Similar it is with first row slots in containers.
The game tries to place to popup on the right side of the cursor. But if there is not enough space i.e. the popup would go partially outside the game window, it is moved further away from the window's edge. This can cause the popup to locate under the mouse cursor.
(Note that there is a separate but related bug: the popup can still go partially outside the border. Most likely because the size of the popup is miscalculated in the code. Happens to me in PSUnreal 0.7.47, windows.)
Some other games have a nice way to resolve this issue: by having two possible locations for the pop up. If there is enough space to the right of the cursor, the pop up goes there. Otherwise, the pop up goes to the left side of the cursor. If the pop ups are small enough this always guarantees a valid place for the pop up.
Might be related: FS#7572