ZelionGG / XIV_Databar-Continued

Continuation of XIV_Databar addon
https://discord.gg/g7JZNGSU32
GNU General Public License v3.0
5 stars 3 forks source link

[Bug-Retail] Submenu Overlap Issue on Ultrawide Monitors in Full Screen Mode #46

Open PTGTruk opened 1 month ago

PTGTruk commented 1 month ago

Describe the bug When running XIV_Databar Continued in full screen mode on an ultrawide monitor with a resolution of 3440x1440, the Mythic+ (M+) Portals menu encounters a layout issue. Upon opening the M+ Portals menu, it overlaps with the main menu items, causing a conflict that prevents proper selection. Specifically, if a submenu is selected, it overlays on top of the main menu and obstructs the selection of other items. This issue does not occur if the main Hearthstone is set to a location with a longer name, as this creates more space between the menus.

To Reproduce Steps to reproduce the behavior:

Expected behavior When opening the M+ Portals menu, the submenu should open without overlapping the main menu. Users should be able to select other menu items without interference or having submenus obstruct their view. The layout should dynamically adjust based on the screen resolution and the length of menu items to ensure clear separation between all menus.

Screenshots Screenshot 2024-10-05 011132

Recommendation

A potential solution to this issue could be to add an option in the settings to allow the submenus (such as M+ Portals) to expand to the left instead of the default right. This would prevent the overlap on ultrawide monitors, providing more flexibility and ensuring that menu items do not obstruct each other regardless of the resolution or Hearthstone settings.

PTGTruk commented 1 month ago

The issue is worse if a "Port Option" is not selected

ZelionGG commented 1 month ago

Hi, thank you for the very detailed feedback, I had that problem during the programming of that function, I'll try to see if I can figure out a better solution so avoid that behavior !

ZelionGG commented 1 month ago

One of the first adaptation I want to make is add an option to only show the current season's teleports, that will make the addon only show 1 window with all the teleports with no submenu.

ZelionGG commented 1 month ago

Travel module options rework to include that new parameter :

image

And the single-level dropdown menu for teleports :

image