01-14-2021, 11:58 AM | #1 |
Human being with feelings
Join Date: Sep 2019
Posts: 1,324
|
Toggle state isn't updated in the Actions list
When the toolbar action is run by double click or via the Run button.
It only gets updated after toggling another toolbar or after closing and reopening the Actions list. Neither manual closing or opening a toolbar in Arrange makes its toggle state update in the open Actions list. It's also annoying that at click on the action the list auto-scrolls up. Last edited by Buy One; 01-27-2021 at 07:41 AM. |
01-14-2021, 03:09 PM | #2 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,762
|
I can confirm both.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
01-27-2021, 07:24 AM | #3 |
Human being with feelings
Join Date: Mar 2007
Posts: 4,772
|
yes, it's very misleading
|
01-27-2021, 07:40 AM | #4 | |
Human being with feelings
Join Date: Sep 2019
Posts: 1,324
|
As Mespotine suggested adding here the description of how it affects programmatically set toggle states
Quote:
Track: Toggle FX bypass for selected tracks updates right away. SWS/S&M toggle actions don't exhibit this behavior but still make the action list scroll. . . . Last edited by Buy One; 01-27-2021 at 08:07 AM. |
|
01-27-2021, 10:09 AM | #5 |
Human being with feelings
Join Date: Jul 2009
Posts: 1,071
|
The same thing happens when arming track envelopes, the envelope window doesn't update until re opened. It will update via the buttons in the envelope window and via script though.
|
01-28-2021, 06:37 AM | #6 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,270
|
This used to work. I don't remember in which version exactly, but it broke sometime during v5.
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui |
12-31-2022, 09:56 AM | #7 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,735
|
Bug confirmed. This is a pretty nasty one not just for us ReaScripters but also any power user needing to keep track of Boolean actions for custom/cycle actions, toolbar buttons, etc.
__________________
My ReaScripts: Superglue – Buss Driver – Fold Source – Various Utilities – My ReaPack repo URL |
12-31-2022, 10:54 AM | #8 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,124
|
ah yeah, fixing!
|
12-31-2022, 12:22 PM | #9 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,735
|
__________________
My ReaScripts: Superglue – Buss Driver – Fold Source – Various Utilities – My ReaPack repo URL |
12-31-2022, 05:46 PM | #10 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,124
|
Happy New Year!
One problem with fixing this bug -- SWS seems to call RefreshToolbar() incessantly, ugh. :/ |
12-31-2022, 08:42 PM | #11 | ||
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,270
|
Quote:
The intent of that feature was to support actions whose toggle state automatically changes depending on the offscreen visibility of items when scrolling: Quote:
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 12-31-2022 at 08:54 PM. |
||
01-02-2023, 03:50 PM | #12 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,124
|
It would be _vastly_ preferable from a performance perspective if it calculated the states and only refreshed when the states changed, yeah.
|
01-03-2023, 05:33 AM | #13 | |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,270
|
Quote:
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 01-03-2023 at 05:39 AM. |
|
01-03-2023, 07:57 AM | #14 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,124
|
Quote:
|
|
Thread Tools | |
Display Modes | |
|
|