Open thebearon opened 2 years ago
Why would someone press F5 in presentation mode?
Once in presentation mode, I don't see why someone would press F5 (as F5 is browser reserved key for refresh). But still it would be better to have that key disabled, although the probability and so importance is very low/trivial. Not sure how importance is marked here. Maybe by converting to Enhancement (to avoid accidental press). What I wrote in #4519 for starting with F5 seems more important.
The idea was that in online we should disable browser reload on F5 in general, because it disrupts the app. The merger PR achieved that in a normal view (at least that was the plan, I'll review the recent comment there). but not in presentation view. I just think browser F5 behavior in general should be disabled, but I'm fine to consider it an enhancement.
4519 disabled the browser reload in the UI, and launches the presentation in Impress, just like desktop LibreOffice.
However, while in the presentation, F5 still initiates browser reload. The key should be disabled in the presentation engine as well, probably somewhere in the below source file:
https://opengrok.libreoffice.org/xref/core/filter/source/svg/presentation_engine.js?r=e889c9b8