seaglass
                                
                                
                                
                                    seaglass copied to clipboard
                            
                            
                            
                        Accept and decline buttons are grayed out after being kicked from a room and reinvited
Specifications
- Seaglass Version: 0.0.224-c536529 (actually 0.0.354?)
 - macOS Version: 10.13.6
 
Expected Behavior
Accept and decline buttons on room invite should always work
Actual Behavior
Accept and decline buttons on room invite are grayed out
Steps to Reproduce the Problem
- Create a new room from account 1
 - Invite account 2
 - Accept the room invite on account 2
 - Kick account 2 from the room
 - Invite account 2 to the room again
 
Workaround: quit Seaglass and launch again (actually it crashed but I'm assuming quitting and relaunching would work) and the buttons will be enabled again
This should have been fixed in 1324d4fdffbdf206b3a083615b05ffbf57574a15 - can you please retest with the latest build?
Kicks don't work properly in 1324d4f, you continue see the room after the kick. It just says "Aaron Raimist has left the room".
Then if you attempt to send a message you get this crash:

Hopefully that's fixed in d2701e78cbdf31100d902a524d01b61b422b6fc9 now.
If the invite buttons look good then we should be OK to close the issue.
Almost all good now, invite buttons work properly but the emoji button doesn't get reenabled when you rejoin the room after being kicked and then reinvented.
Also I'd be nice to see the placeholder text change in the input field change or something. First I thought it had crashed when I couldn't select the input field but then I realized you just disabled it. Is it not possible for you to detect that it was a kick vs a leave?
Have made some further changes to this behaviour in 05c23828a6264a08e35a123934caabd299f27b48 - the button enabling/disabling for all types of events is now handled by a single function which seems to be a bit more robust.
The label seems to be a bit more difficult - not sure why that's not rendering the right text. Can you retest the rest please?
Looks good but invites don't show up until I relaunch Seaglass
Actually I guess the invite does show up, just not at the top anymore and the input field and buttons didn't come back.
Yeah I'm having a hard time with the controls displaying reliably - I'm not sure if I'm just going cross-eyed from having been looking at the code for so long but from what I can tell this should work.
49796ca might help.
Unfortunately not.
It might be worth me clearing the cache b/c I sometimes see the same room with an old name. There isn't an easy button hooked up to clear cache yet right?
Anyway /me -> work so I'll test any fixes you come up with later today.
Any luck with this on newer commits?
So my raim.ist server is down at the moment so I found another unrelated bug which is preventing me from testing this. See #75.
That should be fixed now.
#75 is fixed but this issue is still present. After being kicked, accept/decline buttons still don't reappear until Seaglass is relaunched
I'm having a hard time reproducing what you're seeing - for me this works perfectly. The only reason that the code would not show you the buttons again is if the room you are selecting is not actually an invite.
Can you describe exactly the steps you are taking and whether the invite you are using to reproduce this is a fresh invite?
Sent a video in #seaglass since GitHub doesn't support .mov https://matrix.to/#/!qvCRFpZsGETXtHJSnJ:matrix.org/$1537222180115120qCQAQ:matrix.org