Support the --disable-pinch command line option
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
People
(Reporter: alex.fdm, Assigned: mkaply)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
I have an application that runs in --kiosk mode on an unattended kiosk. My problem is that some users are pinch-zooming the app (probably by mistake), and it remains zoomed until someone goes there to fix it.
I suggest you add an equivalent to Chrome's --disable-pinch command line option. And even enable it by default with --kiosk.
Reporter | ||
Updated•4 years ago
|
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This was filed before we have smooth pinch zooming, so this was filed about reflow zooming.
Comment 3•3 years ago
|
||
Although not a command line, can you try setting mousewheel.with_control.action = 0 and apz.allow_zooming = false? That should fix what you describe. (It will also disable zooming when using the mouse wheel + ctrl key if that matters to you.)
Reporter | ||
Comment 4•3 years ago
|
||
Yes, this would work. As did my workaround of disabling multi-touch on the driver. But this issue is not about a workaround, it is about feature parity. Chrome has a useful command line option that I believe Firefox should have too.
Comment 5•3 years ago
|
||
Controlling it via prefs is not a work around any more than having a command line option is a work around. In fact controlling it via prefs has many advantages over a command line option, you don't have to pass the command line every time for one.
Assignee | ||
Comment 6•3 years ago
|
||
Controlling it via prefs is not a work around any more than having a command line option is a work around.
I don't understand this statement. What other option is there?
If you're already passing a kiosk parameter, you can pass a disable-pinch parameter.
Comment 7•3 years ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #6)
Controlling it via prefs is not a work around any more than having a command line option is a work around.
I don't understand this statement. What other option is there?
Comment 4 said that using prefs to resolve this issue is a work around. I am saying that using prefs are no more of a work around then having a command line option. They are both ways to change Firefox's behaviour to get what you want. So if one is a work around the other is a work around as well.
Reporter | ||
Comment 8•3 years ago
|
||
In my specific case, I have infrastructure in place to distribute updated startup scripts with new command line options to all of hundreds of kiosks. I would have to change browser configuration by hand on each one.
Comment 9•3 years ago
|
||
Mike, you mentioned you might be interested in implementing this. Please feel free to move it to a better component if you'd like. I'm happy to help with getting APZ pinching to respect this option.
Assignee | ||
Comment 10•3 years ago
|
||
Yeah, it's on my list. I'm thinking we add a pref explicitly around pinch zooming and then control with the command line param.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/a675665b9a84 Allow disabling pinching from the command line. r=botond
Comment 14•2 years ago
|
||
bugherder |
Assignee | ||
Comment 15•2 years ago
|
||
Comment on attachment 9272387 [details]
Bug 1654787 - Allow disabling pinching from the command line. r?botond
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Parity with Firefox 101
- User impact if declined: No disable pinch feature
- Fix Landed on Version: 101
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Sets some prefs based on command line.
Comment 16•2 years ago
|
||
Comment on attachment 9272387 [details]
Bug 1654787 - Allow disabling pinching from the command line. r?botond
Doesn't change any default behaviors but allows better lockdown in restricted environments. Approved for 91.10esr.
Comment 17•2 years ago
|
||
bugherder uplift |
Description
•