GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

8M Downloads

[BUG] Editor Content appearing outside Frame

Gaupandarian opened this issue Β· 6 comments

commented

πŸ”΅ Describe the bug:
With the latest version of GSE, when you open sequence , the window size got big then pop up second window at the bottom when it was normally open to the right side. However, if you shrink the window size. It goes back to normal.
In addition, if you deleted a sequence, it would open another sequence window…

πŸ”΅ To reproduce: (Steps to reproduce the behavior)

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

πŸ”΅ The error:
Paste the error message in this blockquote.


πŸ”΅ Screenshots:
If applicable, add screenshots to help explain your problem.

πŸ”΅ Expected behavior:
A clear and concise description of what you expected to happen.

πŸ”΅ GSE.lua file:
Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.

  • To find the GSE.lua file:
  1. First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
  2. Browse to C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\ or /path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
  3. Copy the GSE.lua file to your Desktop
  4. Rename this copy to GSA.lua.txt
  5. Then just drag it here in your message
  • Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?". This file is needed with the error to work out Why that error occured for you.

πŸ”΅ Desktop (please complete the following information):

  • OS: [e.g. Windows 11 64bit]
  • Game Version [Retail]

πŸ”΅ GSE Version:

  • Version: [3.2.23- Patron Build]
  • Downloaded From: [e.g. https://www.curseforge.com]

πŸ”΅ Additional context:
Add any other context about the problem here.

commented

@Gaupandarian Beyond telling me there is a problem you have provided no information on how to fix this. When i do what you suggest this works perfectly for me.

What I need for this is this part:

To reproduce: (Steps to reproduce the behavior)

Go to '...'
Click on '....'
Scroll down to '....'
See error

commented

I am stuck as while I know this happens until someone can tell me do these 5 steps and it happens i cant fix it. I have been unable to make this happen even after 20 hours of chasing people's suggestions.

commented

I found the delete part but haven't been able to reproduce the window scale/size thing

commented

Has this gotten better at all with the last two updates?

commented

For those technically inclined:

AceGUI provides all the dropdowns and boxes and text doodads that appear in the editor. It have a concept of containers and widgets. In other program environments you can set a container to use "remaining space" unfortunately thats not present here. You can either calculate the space and set the container to the size or you can use container:SetFullWidth(true).

The problem with the latter is that it look at its parent and goes how big are you, i will swap to that. It also recalculates every time the window is resized or moved. When there were 1 of these I had it simply looking at itself and just globally fixing it up. With the multiples those "global" hacks dont work so I have to have this configured properly. By offloading this to container:SetFullWidth(true) it also has to recalculate and if you made the frame say twice its existing width you could DC your self. While this fixes the problem it adds another that you dont want. 🀣

What I am doing is calculating the sizes of things once and then passing that value down. Somewhere my math is trying to put something bigger than the remaining space so it pops out the content effectively to the next "line" (Think typewriter) then the resize of that container makes it all comply again but it doesn't trigger a pop back into its correct location ... yet

commented

This is one of those "be careful what you wish for things".

Image

The Sequence Editor has been rewritten again. There are Pros and Cons for this.

Pros:

  • Never Breaks out of its window
  • Renders cleanly
  • Showing all sequences in the menu doesn't kill the computer
  • Menu Fold Outs and Icons
  • This approach can be used for Macro, Sequence and Variable windows, significantly improving their appearance and usability.

Cons:

  • The lag in selecting editor versions can be a hit depending on how complicated the sequence is. This will be something I have to work through and improve over time.