Reset sliders to default (zero) when a PopupMenu item is selected

I am setting up a UI with sliders that are enabled or disabled according to the item in a PopupMenu. I have been trying to figure out how to reset the sliders to the default value of zero when I select another item from the PopupMenu. After reading the documentation I think that Refresh should do the trick but I am missing something. It seems that after refresh the sliders need to be updated but I cannot figure out how. Can you help? Please see the mwe below. I am using v 12.1.1.0. Thank you!

BU

(* Initialization section *) dMin = -500; dMax = 500; dStep = 0.1; aMin = 0; aMax = 500; aStep = 0.1;  PopupMenu[Dynamic[tType], {   {0, 0, 1, 0, 0, 0} -> "t1",   {1, 0, 1, 1, 0, 0} -> "t2",   {1, 0, 1, 1, 1, 1} -> "t3",   {1, 1, 1, 1, 1, 1} -> "t4",   {2, 1, 1, 1, 0, 0} -> "t5",   {3, 1, 1, 1, 0, 0} -> "t6",   {0, 1, 1, 1, 0, 0} -> "t7",   {0, 1, 1, 1, 1, 1} -> "t8"}]  Manipulate[Grid[{    {"a", Slider[      Dynamic[aa], {If[tType[[1]] == 3 , 1.5 bb, dMin],        If[tType[[1]] == 2, 1.5 bb, If[1.5 bb <= dMax, dMax, 1.5*dMax]],        dStep}, Enabled -> tType[[1]] > 0,       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightBlue, ImageMargins -> 0]},    {"b", Slider[Dynamic[bb], {dMin, dMax, dStep},       Enabled -> tType[[2]] > 0,       Exclusions -> {If[tType[[2]] > 0, 0, None]},       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightBlue, ImageMargins -> 0]},(*     excludes zero from types 4 t0 8 *)    {"c", Slider[Dynamic[cc], {dMin, dMax, dStep},       Enabled -> tType[[3]] > 0,       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightBlue, ImageMargins -> 0]},    {"d", Slider[Dynamic[dd], {aMin, aMax, aStep},       Enabled -> tType[[4]] > 0,       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightBlue, ImageMargins -> 0]},    {"e", Slider[Dynamic[ee], {dMin, dMax, dStep},       Enabled -> tType[[5]] > 0,       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightMagenta, ImageMargins -> 0]},    {"f", Slider[Dynamic[ff], {aMin, aMax, aStep},       Enabled -> tType[[6]] > 0,       Appearance -> {Small, "UpArrow", "Labeled"},       Background -> LightMagenta, ImageMargins -> 0]}},   Frame -> Outer, ItemSize -> {{1, 21}}],   Dynamic[tType,    Refresh[{aa = 0, bb = 0, cc = 0, dd = 0, ee = 0, ff = 0},     TrackedSymbols :> {tType}]], AppearanceElements -> None] 

Responsive input sliders – is there a better way?

I am building an app where a user controls inputs via multiple sliders each with discrete steps. The app then uses the combination of slider values to run some calculations and returns back an output value.

The sliders are meant to be highly responsive, so the user can immediately see the impact of their input combination on the output value -so I have resorted to eagerly calculating ALL possible combinations of sliders and letting the client query the results in the browser itself for faster response times.

The problem is that the number of possible combinations can seriously explode. If I have 5 inputs each with 10 steps, that is 5^10 = 9.8 million possible combinations! That’s way too expensive to calculate eagerly.

Is there a better way to do this? I could try to restrict the number of sliders that can be moved at any point, to lower the solution space…but wondering if there’s a better solution out there.

Carousel or sliders in website banners and their usability

Currently, I am working on a university website redesign project. The complication is that they used a lot of image carousels or sliders on their existing website. For example, in the banner, 10 events/programs images are running inside the carousel and some have a hyperlink to a dedicated page.

I am planning to remove the carousel with a hero image and move the other image to events and programs gallery since too many messages will miss the important thing. And the chances of conversation are below 1%. How could I convince the client diplomatically? Because they are crazy to see carousels to show different department images in the home page banner even after I tried to convince them that they are conversion killers.

How do I restore GUI buttons and sliders?

I just upgraded from xubuntu 16.04 to 18.04.1.

Now I can’t see some buttons and sliders. Menu configuration option buttons are not visible. Slider for volume control for pulseaudio is not visible. On the whisker menu, I see circles covering the names of categories. Terminal window pull-down menu items have no spaces but they are clickable and selecting items from the pull-down menu work.

Applications seem to work for the most part, but not being able to control the volume and not seeing the categories on the whisker menu are super annoying. I don’t know what else may be broken. Can someone point me in the right direction? Is this a matter of destroying/modifying some dot files for configuration? I removed the whisker rc file, but the problem persists.

How do I restore GUI buttons and sliders?

I just upgraded from xubuntu 16.04 to 18.04.1.

Now I can’t see some buttons and sliders. Menu configuration option buttons are not visible. Slider for volume control for pulseaudio is not visible. On the whisker menu, I see circles covering the names of categories. Terminal window pull-down menu items have no spaces but they are clickable and selecting items from the pull-down menu work.

Applications seem to work for the most part, but not being able to control the volume and not seeing the categories on the whisker menu are super annoying. I don’t know what else may be broken. Can someone point me in the right direction? Is this a matter of destroying/modifying some dot files for configuration? I removed the whisker rc file, but the problem persists.

Does Mobile view of website need animations and sliders?

As in websites we have Large Banner sliders, carousels,Some complex designs that have some large images (basically that are not viewable in small devices).

I am finding the fact that in home should it necessary to keep all those things to attract viewers in mobile device too, Or just making simple as possible with just using some images and text with small fonts is enough to make use of website friendly to use.

How to activate module sliders in Darktable with keyboard?

On a laptop I prefer to adjust module sliders with the keyboard instead of using the touch-pad and clicking. Better control.

But giving focus to a slider is quite a pain, can only be done with the mouse: rightclick twice.

For example: I open the module Contrast, Brightness, Saturation by clicking on it.

Somehow you would expect that keyboard focus for arrow keys is then automatically set on the first slider/dropdown etc. It isn’t.

Then you expect something like tab to move to the next to input (like on the web). Well Tab is not available, but CTRL Tab could be a viable alternative.

And there is no visual feedback which slider has keyboard focus. Ouch!

I’m sure I’m missing something, but how is focusing sliders supposed to work with the keyboard in Darktable?