Various UI jank and things #30

Closed
opened 2023-08-08 03:53:22 +00:00 by bvisness · 4 comments
Owner
  • Scrolling with a wheel seems very slow - definitely seems like it must not be respecting the system scroll speed. https://cdn.discordapp.com/attachments/1126271320364167299/1138316574919495752/IMG_2775.mov

  • Sliders do not stick to the mouse when they hit the end of their tracks (see attachment 1)

  • Interacting with other UI elements does not cause text boxes to lose focus (see attachment 2)

  • Text inputs are missing tons of keyboard shortcuts, e.g. home/end, ctrl-a to select all, ctrl-arrows to move by words. (Might want to make this its own issue...)

- [x] Scrolling with a wheel seems very slow - definitely seems like it must not be respecting the system scroll speed. https://cdn.discordapp.com/attachments/1126271320364167299/1138316574919495752/IMG_2775.mov - [x] Sliders do not stick to the mouse when they hit the end of their tracks (see attachment 1) - [x] Interacting with other UI elements does not cause text boxes to lose focus (see attachment 2) - [x] Text inputs are missing tons of keyboard shortcuts, e.g. home/end, ctrl-a to select all, ctrl-arrows to move by words. (Might want to make this its own issue...)
ilidemi self-assigned this 2023-08-08 07:42:30 +00:00
Collaborator

I'll take a look at these tomorrow.

One more from me:

  • Textbox mouse selection only works inside the box
I'll take a look at these tomorrow. One more from me: - [x] Textbox mouse selection only works inside the box
Collaborator

Text inputs are missing tons of keyboard shortcuts, e.g. home/end, ctrl-a to select all, ctrl-arrows to move by words. (Might want to make this its own issue...)

For now Ctrl-a should go to the start and Ctrl-e to the end, and select all should be Cmd-a (like it is on macOS). In order to keep platform-specific shortcuts we should probably have a separate UI_EDIT_COMMANDS table per platform, and have a way to query the runtime for which one to use, e.g. oc_get_platform() or something.

> Text inputs are missing tons of keyboard shortcuts, e.g. home/end, ctrl-a to select all, ctrl-arrows to move by words. (Might want to make this its own issue...) For now Ctrl-a should go to the start and Ctrl-e to the end, and select all should be Cmd-a (like it is on macOS). In order to keep platform-specific shortcuts we should probably have a separate UI_EDIT_COMMANDS table per platform, and have a way to query the runtime for which one to use, e.g. `oc_get_platform()` or something.
Collaborator
  • Sliders are lagging behind the mouse cursor

I think it's unavoidable to have one OS-induced frame lag here, but this is amplified by the renderer's pipelining, meaning we have a 3 frames lag. Maybe I should revisit that decision and prioritize latency over throughput now that the renderer is a bit more performant.

- [ ] Sliders are lagging behind the mouse cursor I think it's unavoidable to have _one_ OS-induced frame lag here, but this is amplified by the renderer's pipelining, meaning we have a 3 frames lag. Maybe I should revisit that decision and prioritize latency over throughput now that the renderer is a bit more performant.
bvisness added this to the Jam MVP milestone 2023-08-23 02:49:18 +00:00
Collaborator

Closing this since it has been fixed by @ilidemi PRs #7, #36, #41, #52 and #63.

Closing this since it has been fixed by @ilidemi PRs #7, #36, #41, #52 and #63.
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#30
No description provided.