ComPlat/chemotion_ELN

jumping viewport of device remote display when on focus mode and first click event on it

Closed this issue · 0 comments

how to reproduce the issue

  • As a ELNer
  • go to my devices (navigate /command_n_control)
  • select a device with large screeen
  • mouse click focus to enter interactive remote mode
  • mouse click on the remote display

➡️ remote display jumps (scrolling positions change) and ⚠️ leads to an unexpected mouse-click-position

Solution ❓

❓ reposition the remote screen directly after entering focus mode to avoid the repositioning on the first click event

➕ automatically hide the device list on entering focus mode to increase the available space for the remote display
➕ automatically show the device list on entering blur mode to facilitate user navigation
➕ automatically enter the blur mode if on focus mode when unhidding the device list

could have

➕ add option to scale remote to current available space or use native remote display resolution
see scaleViewport

Use case

General case:

  • user go to device page -> list of available remote visible on the left panel
  • user select a device from list -> remote screen open on the right panel -> remote screen scales to available space so taht user can visualize the whole remote display
  • user enter focus mode -> device list collapse (left panel hidden) -> remote screen scales to available space

Edge case: user screen is small / remote screen is large

  • user can switch between scaled and native size. When viewing Native, user can scroll the windows up/down/left/right