O
OpenDeckβ€’3mo ago
edgeform

Switching Profiles clears icon customization

After setting up my Discord icons (picture attached), switching to another Profile and then back to this Profile causes the icons to reset:
No description
56 Replies
edgeform
edgeformOPβ€’3mo ago
No description
edgeform
edgeformOPβ€’3mo ago
The "Switch Profile" just points at another profile 'Default2', which itself only has a single button... "Switch Profile" back to 'Default' profile.
edgeform
edgeformOPβ€’3mo ago
Noticed this when I selected the Mute button -- I have previously authorized OpenDeck in Discord, and the button has worked before.
No description
Terrorwolf
Terrorwolfβ€’3mo ago
Which version does OpenDeck say it is in the config? Its an RPM right?
edgeform
edgeformOPβ€’3mo ago
Not in front of my system right now. It’s an RPM like a week old
Terrorwolf
Terrorwolfβ€’3mo ago
What operating system are you using exactly? Was it OpenSUSE Tumbleweed?
edgeform
edgeformOPβ€’3mo ago
Yeah I’m on TW
ks
ksβ€’3mo ago
if you want to add edge cases, this also happens to obs scenes (the scene its supposed to switch too gets reset)
nekename
nekenameβ€’3mo ago
Hey, sorry I missed this. I'll check to see if I have the bug today
Terrorwolf
Terrorwolfβ€’3mo ago
which obs plugin are you using?
nekename
nekenameβ€’3mo ago
But I think that the icons and the settings are probably different issues Good question
ks
ksβ€’3mo ago
the only one that was natively supported i believe ill send a screenshot when im on my pc
nekename
nekenameβ€’3mo ago
Multi OBS Controller?
ks
ksβ€’3mo ago
yeah the one that needs websocket connections
nekename
nekenameβ€’3mo ago
they both do
ks
ksβ€’3mo ago
oh well then thats redundant my bad
ks
ksβ€’3mo ago
it randomly decided to fix itself, im guessing its a problem with newly initialized webhooks?
nekename
nekenameβ€’3mo ago
cool i guess i've found why the issue happens in the Discord plugin but i havent found out how it was ever supposed to work
edgeform
edgeformOPβ€’3mo ago
I'm realizing setting one of the Voice Channel icons to "Dynamic" also induces this behavior (icon resetting) That "Dynamic" setting also doesn't quite work as expected, but That's Another Issue (not worried about it rn at all)
ks
ksβ€’3mo ago
how funky i wonder what would happen if you swap devices but keep the same profile does it also reset?
nekename
nekenameβ€’3mo ago
im really confused tho i added logs to the discord plugin and its logging stuff that just simply isnt happening according to identical logs in opendeck
edgeform
edgeformOPβ€’3mo ago
Specifically to the 'Dynamic' button, I seem to have to hit it "twice" to get the function to work, i.e. two presses in order to "leave" the Voice Channel instead of one
edgeform
edgeformOPβ€’3mo ago
edgeform
edgeformOPβ€’3mo ago
Video has audio -- you'll see I basically "press twice" in order to join / leave the channel
OpenDeck v2.4.4 (8d81a21) on x86_64-unknown-linux-gnu
(it's openSUSE TW) If you would like me to spin this button issue into a new one, let me know and I can
nekename
nekenameβ€’3mo ago
I tried for like 1.5 hours to find out what the hell was going on (strangest bug ever, plugin is receiving events OpenDeck isn't sending) will try again later temporary fix seems to be commenting out the setTimeout line in Inspectors/main.js of the plugin
Johan E
Johan Eβ€’3mo ago
I also have the icon issue. Persists in 2.5.0 also. Restarting opendeck or switching profiles resets to default icons.
Terrorwolf
Terrorwolfβ€’3mo ago
Only on the discord plugin or also other ones? On the Discord plugin it seems like I can reproduce the issue. Other Plugins don't seem to have this problem.
nekename
nekenameβ€’3mo ago
@Terrorwolf do you think it's acceptable for me to comment out the problematic line in the discord plugin shipped in the EAS archive? because that's a hell of a lot easier than trying again to fix the root cause as far as i can tell it doesnt cause any problems
Terrorwolf
Terrorwolfβ€’3mo ago
If it doesn't cause any problems I think it will be ok but a general fix should still happen to prevent the issue to spread or the workaround not beeing applicable in future versions of the plugin if we get it to work again.
Johan E
Johan Eβ€’3mo ago
I only use it for discord so i cant comment on other things im afraid. I can test it if you wanna give me a .deb with the change
Terrorwolf
Terrorwolfβ€’3mo ago
@nekename (dev) May I ask which line causes the problem?
nekename
nekenameβ€’3mo ago
line 110 (setTimeout...) in inspectors/pi.js of the plugin although it's not the cause per se
Terrorwolf
Terrorwolfβ€’3mo ago
as said, It would probably suffice as a workround, but I would still try to tackle the root cause. not sure if this could be somehow related to my image problem with the Homeassistant plugin.
nekename
nekenameβ€’3mo ago
i dont think it would be
edgeform
edgeformOPβ€’3mo ago
Yeah come to think of it the dynamic button still acts like this in the prerelease you sent me Forgot I did that last night. I was busy getting my OG SD and GoXLR out πŸ™‚
Johan E
Johan Eβ€’2mo ago
I have done some more testing. It looks like the profile is saved correctly when adding a custom image. the image-property inside the "states"-tag is updated to 0.png.
No description
Johan E
Johan Eβ€’2mo ago
but after restarting the app or switching profile this value is changed to a very long string instead
No description
Johan E
Johan Eβ€’2mo ago
This is the full string:
Johan E
Johan Eβ€’2mo ago
Johan E
Johan Eβ€’2mo ago
and when restarting opendeck, i can see the correct image for about 1-2 seconds before it looks like a reload is beeing performed and all custom images are replaced as stated above
Johan E
Johan Eβ€’2mo ago
The string above appears to be the contents of "0.svg" in the same folder:
No description
Johan E
Johan Eβ€’2mo ago
I also tested this with the git version now. Same thing happends (https://aur.archlinux.org/packages/opendeck-git)
Terrorwolf
Terrorwolfβ€’4w ago
Seems to be fixed with the newest git release. @Johan E Could you try again with the -git version if the problem still exists? Maybe it was fixed with #Images not properly loading
Johan E
Johan Eβ€’4w ago
Oh nice, ill test it out
Terrorwolf
Terrorwolfβ€’4w ago
@Johan E don't forget to backup your config before swtiching to the git version
Johan E
Johan Eβ€’4w ago
i have all dotfiles in a repository already πŸ™‚ im afraid its still reseting the images for me. Using this git version: opendeck-git r256.45e3b81-1 ill remove everything from ~/.config and rebuild, and see if that makes a difference no same thing πŸ™
Terrorwolf
Terrorwolfβ€’4w ago
interresting. What button did you say you use exactly? Because for me its not reproducible anymore with the newest git version. Tried today mutliple times
Johan E
Johan Eβ€’4w ago
just installing the discord plugin and draging out the soundboard to any button. Set an image and restart the app and the image is gone
Terrorwolf
Terrorwolfβ€’4w ago
is it only happening with the soundboard button?
Johan E
Johan Eβ€’4w ago
thats the only one i use. but i can try another
Terrorwolf
Terrorwolfβ€’4w ago
please also try another button
Johan E
Johan Eβ€’4w ago
Tested with "Text channel" now and its the same i uninstalled the app and removed the whole ~./config/opendeck folder when i installed the git version im on Arch if that helps
Terrorwolf
Terrorwolfβ€’4w ago
just tested it with the text channel one and still happening for me. Didn't had an soundboard button set up to test it same. so still not fixed
Johan E
Johan Eβ€’4w ago
okay. Good that it can be reproduced πŸ™‚ Not like this is a big issue anyway. everything else works really well But i very much appreciate the effort in any case, thx!
Incognizant
Incognizantβ€’5d ago
Came to the discord because I was also seeing this issue (and because I wanted to say hello!)
nekename
nekenameβ€’3d ago
hello!

Did you find this page helpful?