Closed GoogleCodeExporter closed 9 years ago
There's a Firefox preference that is browser.preferences.instantApply that by
default is false in Windows and true in other operating systems. When it's
true, the Firefox options window is non-modal, i.e. you can change an option
and continue browsing without closing the options window, and the change is
applied immediately. The FoxReplace options window follows the same pattern: if
that preference is true the changes are applied immediately and you can switch
windows without restriction.
Currently this is implemented only for the main options window but I want to
extend it to the substitution group editor in the future. But this really only
impedes you to switch between the substitution group editor and the options
window, you can still freely switch between the substitution group editor and
browser windows. So I think you can do what you say by just setting the
preference to true. You can do so in about:config (open a new tab, type
about:config in the URL bar, and press enter; there, search for instantApply
and double-click on it).
Original comment by marc.r...@gmail.com
on 12 Aug 2014 at 11:22
That might fix it.
But I don't understand why.
I mean there are other addons that "don't" have this problem.
Example:
When I edit the options of AdBlock Plus, NoScript or Fox Clocks, I can easily
browse even while the respective addon's options window is open.
But if I do the same with FoxReplace options it gives the error sound and
doesn't allow clicking outside the FoxREplace options box at all.
Could you look into it?
Original comment by jedi200...@gmail.com
on 17 Aug 2014 at 12:46
I know it because it's designed this way. If instantApply is true, the window
is open as a non-modal dialog with a close button on Windows and Linux and
without any button on Mac. All changes are applied instantly and you can switch
freely between all windows. On the other hand, if instantApply is false, the
window is open as a modal dialog with ok and cancel buttons. You have to close
the window applying or discarding the changes before continuing with other
things.
I did it this way following these guidelines:
https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions/XUL_School/Handli
ng_Preferences#Preference_windows
Original comment by marc.r...@gmail.com
on 17 Aug 2014 at 1:37
Original issue reported on code.google.com by
jedi200...@gmail.com
on 12 Aug 2014 at 5:58