X
Tap here to go to the mobile version of the site.

Support Forum

How to override detected preferences in about:config

Posted

I have a Sony laptop with a touch screen and windows 10 running Firefox 53.03. Firefox's about:config detects the following preference:

ui.osk.debug.keyboardDisplayReason userset string IKPOS: Keyboard presence confirmed.

I want to override it to be: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Touch screen not found.

I have tried creating a user.js with the following content: user_pref("ui.osk.debug.keyboardDisplayReason", "IKPOS: Touch screen not found."); but about:config does not change.

If I go into the device manager and disable the touchscreen, then I get the correct preference and Firefox works correctly, but I'd like to keep the touchscreen enabled.

Thanks. Zig

I have a Sony laptop with a touch screen and windows 10 running Firefox 53.03. Firefox's about:config detects the following preference: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Keyboard presence confirmed. I want to override it to be: ui.osk.debug.keyboardDisplayReason userset string IKPOS: Touch screen not found. I have tried creating a user.js with the following content: user_pref("ui.osk.debug.keyboardDisplayReason", "IKPOS: Touch screen not found."); but about:config does not change. If I go into the device manager and disable the touchscreen, then I get the correct preference and Firefox works correctly, but I'd like to keep the touchscreen enabled. Thanks. Zig
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 25.0 r0

Application

  • Firefox 53.0.3
  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0
  • Support URL: https://support.mozilla.org/1/firefox/53.0.3/WINNT/en-US/

Extensions

  • Application Update Service Helper 2.0 (aushelper@mozilla.org)
  • Multi-process staged rollout 1.14 (e10srollout@mozilla.org)
  • Pocket 1.0.5 (firefox@getpocket.com)
  • Shield Recipe Client 1.0.0 (shield-recipe-client@mozilla.org)
  • Web Compat 1.0 (webcompat@mozilla.org)
  • SmartPrintButton 1.0 (quickprint@hp.com) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) HD Graphics Family
  • adapterDescription2:
  • adapterDeviceID: 0x0a16
  • adapterDeviceID2:
  • adapterDrivers: igdumdim64 igd10iumd64 igd10iumd64 igd12umd64 igdumdim32 igd10iumd32 igd10iumd32 igd12umd32
  • adapterDrivers2:
  • adapterRAM: Unknown
  • adapterRAM2:
  • adapterSubsysID: 00000000
  • adapterSubsysID2:
  • adapterVendorID: 0x8086
  • adapterVendorID2:
  • crashGuards: []
  • currentAudioBackend: wasapi
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 10.0.15063.0
  • driverDate: 9-29-2016
  • driverDate2:
  • driverVersion: 20.19.15.4531
  • driverVersion2:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'Direct3D11 Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_COMPOSITING'}, {u'status': u'disabled', u'description': u'Direct3D9 Compositing', u'log': [{u'status': u'disabled', u'message': u'Disabled by default', u'type': u'default'}], u'name': u'D3D9_COMPOSITING'}, {u'status': u'available', u'description': u'Direct2D', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'DIRECT2D'}, {u'status': u'available', u'description': u'Direct3D11 hardware ANGLE', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'D3D11_HW_ANGLE'}, {u'status': u'available', u'description': u'GPU Process', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'GPU_PROCESS'}]}
  • info: {u'AzureContentBackend (UI Process)': u'skia', u'AzureCanvasBackend (UI Process)': u'skia', u'ApzWheelInput': 1, u'ApzTouchInput': 1, u'AzureFallbackCanvasBackend (UI Process)': u'cairo', u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'Direct2D 1.1', u'AzureContentBackend': u'Direct2D 1.1'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webgl2Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: Yes
  • Accessibility: No
cor-el
  • Top 10 Contributor
  • Moderator
15347 solutions 139163 answers

Did you try to disable touch screen support in Firefox?

  • ui.osk.enabled = false

The Debug prefs are created by the relevant code.

Did you try to disable touch screen support in Firefox? * ui.osk.enabled = false ---- The Debug prefs are created by the relevant code. *https://dxr.mozilla.org/mozilla-release/source/widget/windows/WinIMEHandler.cpp#33#693
Was this helpful to you? 1
Quote

Helpful Reply

cor-el said

Did you try to disable touch screen support in Firefox?
  • ui.osk.enabled = false

Thanks, just tried the above and no joy.

''cor-el [[#answer-970512|said]]'' <blockquote> Did you try to disable touch screen support in Firefox? * ui.osk.enabled = false </blockquote> Thanks, just tried the above and no joy.
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.