Closed godlike64 closed 2 years ago
Commenting the keypress lines in display/display_grid.py seem to workaround this issue:
69 def replace(self, page: int, button: int, filters: List[Filter]):
70 with self.lock:
71 pipeline = Pipeline()
72 pipeline.add(DisplayGrid._empty_filter)
73 for filter in filters:
74 filter.initialize(self.size)
75 pipeline.add(filter)
76 #keypress = KeypressFilter()
77 #keypress.initialize(self.size)
78 #pipeline.add(keypress)
79 self.pages[page][button] = pipeline
I still have no idea why this behaviour is being triggered. My limited knowledge of streamdeck-ui can only go so far :)
Can you please update to version 2.0.4. This was fixed in 2.0.4 and I want to confirm it's working for you before closing.
https://github.com/timothycrosley/streamdeck-ui/blob/master/CHANGELOG.md
My bad, should have checked for new version before opening this. Yes, 2.0.4 indeed fixes this issue. I'll close this then. Thanks!
Describe the bug I was toying with my deck by starting to set up multiple pages and the first thing I did was to set some SVG icons (from the Breeze icon set) as forward/backward arrows. I then set the forward arrow key to move to page 2, left backward arrow key blank, then on page 2, on the same 2 keys, I set forward arrow to page 3 and backward arrow to page 1.
As I was trying this out, I noticed that after doing it once, on page 1, the 'forward arrow' ('switch to page 2') key was a bit bold, both on the streamdeck-ui as well as on the streamdeck itself. I closed streamdeck-ui, opened it back up and it was back to normal, but the issue reoccurred after switching to page 2 and back to page 1.
Upon examining it closer, I noticed that whenever I press the keys, the icon changes a bit: it gets 'bolder' or 'brighter' if I press the key all the way in, and goes back to normal when depressed. This was most evident on the 'backward arrow' on page 1, which has no action tied to it. This led me to believe that what is going on is that the 'forward arrow' key on page 1, which switches to page 2, stays in a 'pressed' state, and never gets depressed (or at least, both streamdeck-ui and streamdeck think so).
Also, there seems to be a race condition involved, as if I switch back and forth very quickly, sometimes the key in question will not be stuck in a 'bold/bright' state.
Do note that this is a cosmetic issue: no other abnormal behaviour was noticed. This also seems to happen with a PNG icon. I have only been able to reproduce this with the bottom-right key to switch to page 2. The key to the left of it that goes back to page 1 does not seem to be affected by this issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior Key icon should not be left in a 'bold/bright' state
Screenshots This is my streamdeck, just opened, page 1, with the 'go to page 2' key selected:
My current 'page 2', with the key to go back to page 1 selected:
After triggering the issue, note that the 'forward arrow' key which is configured to go to page 2 is bolder/brighter on the UI. It is also bolder/brighter on the deck itself:
Operating system (please complete the following information)
Stream Deck Version