OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Incorrect keys mapping when accessing fluidd UI from OrcaSlicer on Linux

Open fifonik opened this issue 1 year ago • 1 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

OrcaSlicer Version

2.0.0

Operating System (OS)

Linux

OS Version

Linux Mint 21.3

Additional system information

No response

Printer

Elegoo Neptune 4

How to reproduce

  1. Open OrcaSlicer
  2. Configure access to printer's UI (Klipper's fluidd in my case)
  3. Click 'Device' to open fluidd UI
  4. Click 'Configuration'
  5. Click 'printer.cfg' to start editing the file
  6. Press Ctrl+F on keyboard to search in file

Actual results

Nothing happening when you press Ctrl+F

Expected results

I expect Ctrl+F will open search

Project file & Debug log uploads

debug_Thu_Apr_25_12_06_23_2564.log.zip

Checklist of files to include

  • [X] Log file
  • [ ] Project file

Anything else?

If you click 'Command Palette' in fluidd UI while editing the file you will see that all key mappings are for Mac. When accessing the same instance of fluidd UI from browser in the same OS (linux) -- all keys mapping are NOT for Mac and Ctrl+F is opening search dialog.

If I understand correctly, User Agent sent in HTTP requests by OrcaSlicer refer to Mac and so fluidd behaves as visitor is from Mac.

fifonik avatar Apr 25 '24 02:04 fifonik

Only Linux version affected, in Windows version everything works as it should (tested on Windows 10).

fifonik avatar Apr 25 '24 02:04 fifonik

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Jul 25 '24 00:07 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Aug 01 '24 00:08 github-actions[bot]