# Script Widgets: "Hide while Loading" option

**URL:** <https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223>\
**Category:** Feature Requests\
**Created:** [June 22, 2020, 4:04am UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223 "2020-06-22T04:04:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [June 22, 2020, 4:04am UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/1 "2020-06-22T04:04:04Z")

</div>

Would be great if we could default the widget to hide while it's initialising.

Currently, when I restart BTT or open a new touchbar group, all the active widgets show up everywhere, then eventually disappear as they load.

This could be cleaned up by having the script widgets hidden while they load (before they return a result) and thus greatly decrease the impression of a "glitchy shifty roundy" preset.

Of course, in some cases it's preferred to have the widgets showing while they load (e.g. bold, italic, underline buttons), so a checkbox to toggle how it behaves while loading would be great.

@GoldenChaos @Caliguvara @Andreas_Hegenberg

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 22, 2020, 5:31am UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/2 "2020-06-22T05:31:23Z")

</div>

+1 for this idea!

Or a "default" return value would be great! As an example, the Headphones widget displays its title before it gets a result. It would be cool to be able to define a default output in order to get one state or the other right ahead (f.eg disconnected icon only, instead of of disconnected icon + the title of the widget).

---

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [June 22, 2020, 5:41am UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/3 "2020-06-22T05:41:49Z")

</div>

I do that default thing you're talking about just with the widget name, then use the notes in title function to name the widget in the editor. But I suppose a proper default return is a good idea too.

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 22, 2020, 6:12am UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/4 "2020-06-22T06:12:28Z")

</div>

Smart!!

---

<div class="post-metadata">

**Author:** ![3ddyy](https://community.folivora.ai/user_avatar/community.folivora.ai/3ddyy/32/13230_2.png) [@3ddyy](https://community.folivora.ai/u/3ddyy)\
**Post date:** [June 22, 2020, 12:01pm UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/5 "2020-06-22T12:01:22Z")

</div>

Would this fix all the buttons that show up briefly when booting up AQT? If so i am all for this, it sounds like it would be great to have

---

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [June 22, 2020, 1:43pm UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/6 "2020-06-22T13:43:54Z")

</div>

> and thus greatly decrease the impression of a "glitchy shifty roundy" preset.

_oh yes it will_

Really hope this can be made a reality

---

<div class="post-metadata">

**Author:** ![GoldenChaos](https://community.folivora.ai/user_avatar/community.folivora.ai/goldenchaos/32/23617_2.png) [@GoldenChaos](https://community.folivora.ai/u/GoldenChaos)\
**Post date:** [June 26, 2020, 6:49pm UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/7 "2020-06-26T18:49:35Z")

</div>

@Andreas_Hegenberg double bump because this is so critical!

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 26, 2020, 6:57pm UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/8 "2020-06-26T18:57:47Z")

</div>

Definitely on my TODO list to improve the loading of script widgets 🙂  
However I can’t just change the behavior because it would break current setups.

I’ll probably add some extra option to control this behavior.

---

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [June 26, 2020, 9:50pm UTC](https://community.folivora.ai/t/script-widgets-hide-while-loading-option/17223/9 "2020-06-26T21:50:08Z")

</div>

Yes I thought of an extra checkbox "hide while init"! Not sure if it was clear in my post.

Additionally but not necessary it would be great if there was a " Show all loading widgets" option in settings somewhere that overrides this new setting that will show the widgets while loading even if the hide on init is checked for debug purposes
