10 - collapsing tracker text overlap
What steps will reproduce the problem?
1. track some quests/achievements
2. collapse the tracker by clicking the small triangular button next to 'Objectives'
3. or alternatively, right-click objectives, and choose not to track completed quests, and complete all the quests tracked
What is the expected output? What do you see instead?
When the tracker gets collapsed the text 'Objectives' overlaps with the collapse button.
What version of the product are you using?
3.3.3.1 Beta
Do you have an error log of what happened?
Please provide any additional information below.
- 4 comments
- 4 comments
- Reply
- #4
Moncai Apr 17, 2010 at 17:56 UTC - 0 likesFixed in 3.3.3.2 (r36). Marking as fixed, please post a comment here to let me know whether or not it worked for you. Thank you!
- Reply
- #3
Moncai Apr 13, 2010 at 20:44 UTC - 0 likesThanks for the time-saver! With a bit of luck it will be fixed in the next version, hopefully this week.
- Reply
- #2
MugenJuri Apr 13, 2010 at 18:02 UTC - 0 likesI have some more information about this, and the solution as well.
On line 540 in watchframe.lua you read the width of the tracker header when the addon loads. if you aren't tracking anything at that time that width is based on the text 'Objectives', but if you are tracking say 1 quest at that time already the width will be based upon 'Objectives (1)' which is obviously longer.
That width is then store in a variable which does not change anymore. So if you start without any quests tracked, then add quests and collapse the '(1)' part will overlap the button.
The easiest solution is to add the text from line 540 in watchframe.lua in on line 116 in the same file, in the WatchFrame_Collapse function, so it will reread the actual width whenever the tracker gets collapsed or uncollapsed.
- Reply
- #1
Moncai Apr 10, 2010 at 21:13 UTC - 0 likesI have experienced this myself also, but haven't been able to predictably reproduce it. Will investigate, thanks for your report.