If you open the "Workspaces and Margins" gui and attempt to make change the number of workspaces by entering the desired number, The box below that lists the number of workspaces does not update. If for example I have 30 workspaces and I want to reduce that number to 4, simply typing '4' and does not update the number of workspaces. If I do that and then close the "Workspaces and Margins" gui, the number of workspaces will remain at 30. One has to use the arrows to increase/decrease the number of workspaces. Reproducible: Always Steps to Reproduce: 1. Open "Workpaces and Margins" 2. Enter numbe of desired workspaces manually by entering number ie '7' Actual Results: Number of workspaces in box below does not update and old value for number of workspaces remained Expected Results: Upon entering say "7" for ex, the number of workspaces in box below should have changed from it's current value to 7
IIRC the problem is that gtk does not emit the 'changed' signal when typing the new count. Maybe we watch for focus changes as well amd update the values when the entry loses focus.
i changed the signal to 'value-changed' and it works fine except you need to press enter when you've changed the value (or focus anything else than the gtkspinbutton)