osu icon indicating copy to clipboard operation
osu copied to clipboard

Adjust the behaviour of resolution number box in tournament client

Open CloneWith opened this issue 10 months ago • 5 comments

This PR added a function to the number box of the resolution selector. When the Enter key is pressed with focus on the box, it would save and change the resolution as the Set Height button does. After the new resolution is applied, a popup would appear for users to confirm the current resolution is what they'd expected.

CloneWith avatar Feb 24 '25 06:02 CloneWith

The number box still keeps focused and receives keyboard input after the resolution change, in case the client window is too big / small (or out of the screen) for users to change values back.

I don't think this is sane. The typical UX is to display a confirmation dialog post-change that requires the user to explicitly confirm they're OK with the change, and if no action is done withing about 20-30 seconds, the previous values are reverted to.

bdach avatar Feb 24 '25 08:02 bdach

Before reviewing this, where does this requirement come from? It seems very unnecessary to my eye. It's adjusting a window size, not a fullscreen case where a setting could be non-recoverable. It's saving a single click.

peppy avatar Jun 12 '25 06:06 peppy

The number box still keeps focused and receives keyboard input after the resolution change, in case the client window is too big / small (or out of the screen) for users to change values back.

The original requirement is as above, and to make the UX "typical" I made this popup. And at this point I doesn't know whether we have much demand on this (since such things might happen sometimes).

But saving a click is right btw

CloneWith avatar Jun 12 '25 07:06 CloneWith

On a five minute check I could absolutely get myself in a state where the window gets so large that I can't see the text box after changing resolution in order to undo the change. I could still recover via the titlebar but I'm not sure that will always be universally true either.

bdach avatar Jun 12 '25 07:06 bdach

I dunno, this seems very edge case to me. Can always be recovered on windows and macOS via OS controls.

I guess I won't say no to this but based on it being a very custom implementation I'm not going to continue with review right now.

peppy avatar Jun 12 '25 07:06 peppy

Now using a customized dialog implementation seems a little bad to me, thus going to change this. Countdown isn't necessarily needed, only the final result of users accepting the adjusted settings or not.

CloneWith avatar Nov 03 '25 15:11 CloneWith