Cool VL Viewer forum
http://sldev.free.fr/forum/

Unable to move to next notice when 'top' one is closed
http://sldev.free.fr/forum/viewtopic.php?f=4&t=2206
Page 1 of 1

Author:  ZaneZimer [ 2021-08-04 22:52:10 ]
Post subject:  Unable to move to next notice when 'top' one is closed

I noticed recently that if I have a number of groups notices to go through,the >>> (next) to cycle through them is gone once I close one of them, after cycling at least one. For example, I have notice1 -> notice2 -> notice3(front most notice). If I move it to the back, with the >>>, the stack is now notice3 -> notice1 -> notice2. If I close notice2 with the OK button, I'm left with notice3 -> notice1 but notice1 does not have a next option and I must close to get to see notice3.

If this is the correct file, looking at the code in: newview/llgroupnotify.cpp, I'm wondering if the function: void LLGroupNotifyBox::close() might need to enable the mNextBtn, if there is more than one remaining in sGroupNotifyBoxCount. This is what happens in: void LLGroupNotifyBox::moveToBack().

*Edit: My obeservation might be a bit incorrect. It seems as though the 'stack' of notice elements, each start out with the >>> enabled (even though one can only see the front one). The code shows that the action of moving the front one to the back, disables the >>> (next) button. This would be why the next button is always visible if one just dismisses the stack in the order in which they arrived. My proposed solution location may be incorrect then. :? Maybe when they are moved to the back they shouldn't have their next button disabled?

Author:  Henri Beauchamp [ 2021-08-05 15:36:27 ]
Post subject:  Re: Unable to move to next notice when 'top' one is closed

The solution is simply to refresh the "next" button visibility in the draw() method depending on the number of group notifications shown.

Fixed for next release.

Note that a "hidden" feature also exists that allows to send a notice (or a notification, such as a script menu) to the back even when the next button is not visible: just right click anywhere on the blue background...

Author:  ZaneZimer [ 2021-08-05 16:07:34 ]
Post subject:  Re: Unable to move to next notice when 'top' one is closed

Awesome. Thanks for the upcoming fix and the tip. I guess in 13+ years, I hadn't thought to right-click those things for options.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/