Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile,Web: Clicking just below the editor results in "UNINITIALIZED GLOBAL LOGGER" warning #11127

Open
personalizedrefrigerator opened this issue Sep 26, 2024 · 0 comments
Labels
backlog We'll get to it... eventually... bug It's a bug mobile All mobile platforms

Comments

@personalizedrefrigerator
Copy link
Collaborator

personalizedrefrigerator commented Sep 26, 2024

Operating system

Android

Joplin version

3.1.4

Desktop version info

Joplin Mobile 3.1.0 (prod, web)

Client ID: c9753a654f794553955d5045a26d61b8
Sync Version: 3
Profile Version: 47
Keychain Supported: No

Revision: b97a14c (dev)

CodeMirror 6 snippets: 0.0.8
Extra markdown editor settings: 1.3.0
Extra Markdown viewer settings: 0.4.0
Joplin debug tool: 0.2.0
Work tracker: 0.0.1

User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
FTS enabled: 1
Hermes enabled: 0

Current behaviour

  1. Create a new note.
  2. Click just below the editor.
  3. Check the console.
    • On Android/iOS, it may be necessary to connect to the note editor WebView through Chrome/Safari dev tools.

Note:

Expected behaviour

No error should be logged

Logs

Logs
VM66:21 Logger: Trying to access globalLogger, but it has not been initialized. Make sure that initializeGlobalLogger() has been called before logging. Will use the console as fallback.
get globalLogger @ VM66:21
debug @ VM66:21
a @ VM66:21
t.focus @ VM66:21
focus @ VM66:21
execCommand @ VM66:21
(anonymous) @ VM66:21
(anonymous) @ VM66:21
i @ VM66:21
invokeLocalMethod @ VM66:21
(anonymous) @ VM66:21
(anonymous) @ VM66:21
i @ VM66:21
onMessage @ VM66:21
handleMessage @ VM66:21
(anonymous) @ VM65:15
VM66:21 [UNINITIALIZED GLOBAL LOGGER] debug: focusHandler: ['Action "focus" from "editorCommands::focus"']
VM66:21 Logger: Trying to access globalLogger, but it has not been initialized. Make sure that initializeGlobalLogger() has been called before logging. Will use the console as fallback.
get globalLogger @ VM66:21
debug @ VM66:21
a @ VM66:21
t.focus @ VM66:21
(anonymous) @ VM66:21
VM66:21 [UNINITIALIZED GLOBAL LOGGER] debug: focusHandler: ['Action "focus" from "initial editor focus"']
VM66:21 Logger: Trying to access globalLogger, but it has not been initialized. Make sure that initializeGlobalLogger() has been called before logging. Will use the console as fallback.
get globalLogger @ VM66:21
debug @ VM66:21
a @ VM66:21
t.focus @ VM66:21
(anonymous) @ VM66:21
VM66:21 [UNINITIALIZED GLOBAL LOGGER] debug: focusHandler: ['Action "focus" from "initial editor focus"']
VM66:21 Logger: Trying to access globalLogger, but it has not been initialized. Make sure that initializeGlobalLogger() has been called before logging. Will use the console as fallback.
get globalLogger @ VM66:21
debug @ VM66:21
a @ VM66:21
t.focus @ VM66:21
(anonymous) @ VM66:21
VM66:21 [UNINITIALIZED GLOBAL LOGGER] debug: focusHandler: ['Action "focus" from "initial editor focus"']
VM66:21 Logger: Trying to access globalLogger, but it has not been initialized. Make sure that initializeGlobalLogger() has been called before logging. Will use the console as fallback.
get globalLogger @ VM66:21
debug @ VM66:21
a @ VM66:21
t.focus @ VM66:21
(anonymous) @ VM66:21
VM66:21 [UNINITIALIZED GLOBAL LOGGER] debug: focusHandler: ['Action "focus" from "initial editor focus"']

From here:

focus('initial editor focus', control);

And here:

[EditorCommandType.Focus]: editor => focus('editorCommands::focus', editor),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll get to it... eventually... bug It's a bug mobile All mobile platforms
Projects
None yet
Development

No branches or pull requests

1 participant