awakened-poe-trade icon indicating copy to clipboard operation
awakened-poe-trade copied to clipboard

Overlay widget in uneditable state when out of bounds.

Open Cosmet opened this issue 2 years ago • 2 comments

The overlay widget can go into a state where it's no longer editable if the size of widget goes out of bounds when not in the "move" state of the widget.

Steps to reproduce:

  1. Create a "Stash Search" widget.
  2. Move the widget close to the bottom edge of the PoE window.
  3. Edit the widget and add new strings -- enough to make the widget expand out of bounds from the PoE window.
  4. When hovering the widget you will no longer be able to see the "Hide, Edit, Move, Delete" menu.

There is no other way to access these menu items, other than "Hide" which is accessible through the widget bar.

Proposed Solutions: A) Move the "Hide, Edit, Move, Delete" menu based on the PoE window boundaries. B) Add a small settings button or right click option the widgets which bring up the same menu. C) Add a "Widgets" menu in the global settings where you can manage all your widgets.

Recommended Solution: Solution B and/or C. The current widget settings menu is hard to see/notice and can be hidden by other widgets. Solutions B / C are more user friendly.

Cosmet avatar Jan 25 '23 03:01 Cosmet

Based on the code base and what I was able to find it would actually be easier to do Solution A as adding a Widgets Menu would be more of an undertaking.

The actionmenu bounds are calculated based on an x and y position. Instead of using the widget anchor it be best to use the component bounds for top, left, bottom, right and then compare them against the viewport height & width.

CasualBot avatar Feb 28 '23 01:02 CasualBot

I encountered this issue tonight. For anyone who ends up in this state, the workaround I found was: in General Settings, if you temporarily change the font size, it shrinks all the widgets and this was enough for me to get the whole widget back on the screen.

mkfink avatar Sep 08 '23 03:09 mkfink