Skip to content

GUI bugs #127

Description

@Zidras

Describe the bug

I have compiled some visual bugs that happen with DBM GUI.

Do you have an error log of what happened?

NA

To Reproduce

See below for each case scenario.

Screenshots

  • 1. Clicking resizer button sometimes snaps the window somewhere else entirely, even if the cursor remains in the same place.

I have no clear way to repro this bug, just clicking and opening random menus until it starts bugging the size.

Wow_QG0zcIi2Rt.mp4
  • 2. Links area not updating height since myheight is hardcoded to 0
Wow_CzM6M7pIsY.mp4
  • 3. Caused by default font replacement (for example elvui), which makes some fontstrings one line, and some two lines, breaking the hardcoded myheight values.

image
An easy fix would be line breaking \n every localization string (example: Start color\n(User)).

  • 4. Mod panel statistics header not updating on resize.
Wow_p3vXkkcS7c.mp4
  • 5. Mod panel doesn't truncate long names in button.text. Would extend even further with font replacements/higher fontsizes.

image

  • 6. Ability areas do not update with resize
Wow_5IGev8krUJ.mp4
  • 7. Mod panel does not run DisplayFrame properly if player logins inside the instance and boss mod loads, being the first thing the player sees when /dbm, causing the heights to not work as expected:

image

Clicking the mod panel button re-runs the DisplayFrame and fixes the issue.

  • 8. Address dropdownOption visibility bugs :

a) requires a BoolOption or MiscLine above it to show on GUI;
b) cannot have a BoolOption below it or will overlap on GUI.

  • 9. Dropdown goes empty on SharedMedia path overwrites. This happens because dropdown are handled by callfunc values, which is prone to error with SharedMedia since they are keyed by the mediakey (or media name), not mediapath, which means that whenever a mediapath is changed but the media key is the same, it will bug.

image

It is recommended to rewrite dropdown to properly handle LSM and store values by their name (not their path), and then use LSM Fetch method to return currently stored path in the mediatable.

Did you try having DeadlyBossMods as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes, except for problem no. 3.

Which version of DeadlyBossMods are you using?
image

Was it working in a previous version? If yes, which was the last good one?
Not to my knowledge.

Additional context
@QartemisT , maybe this is something to be considered in #70 or 10.0 GUI?


Did you try having DeadlyBossMods as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes, except for problem no. 3.

Which version of DeadlyBossMods are you using?
image

Was it working in a previous version? If yes, which was the last good one?
Not to my knowledge.

Additional context
@QartemisT , maybe this is something to be considered in #70 or 10.0 GUI?

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions