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

Desktop: Starting in dev mode with dev tools docked to main window logs error #9821

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

Comments

@personalizedrefrigerator
Copy link
Collaborator

personalizedrefrigerator commented Feb 2, 2024

Operating system

Windows

Joplin version

2.14.11

Desktop version info

Joplin 2.14.11 (dev, linux)

Client ID: a477b8fe5e4f47c886afa74c9f21afd2
Sync Version: 3
Profile Version: 45
Keychain Supported: No

Revision: 99e8818

CodeMirror 6 snippets: 0.0.4
Freehand Drawing: 2.7.1
Simple Backup: 1.3.5

Current behaviour

Currently, when starting Joplin in development mode with the development tools docked to the main window,

  1. The following error is logged:
Uncaught TypeError: Cannot set properties of null (setting 'width')
    at /home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:237:25
    at Immer.produce (/home/builder/Documents/joplin2/packages/app-desktop/node_modules/immer/dist/immer.cjs.development.js:775:16)
    at MainScreenComponent.updateRootLayoutSize (/home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:235:51)
    at MainScreenComponent.window_resize (/home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:183:14)
  1. The note editor is partially covered by the development tools:

screenshot: Note viewer and part of the note editor are covered by the development tools

Expected behaviour

No error should be logged

Logs

Logs immediately before and after the error:

16:37:53: PluginService: Loading plugin from /home/builder/.config/joplindev-desktop/cache/io.github.jackgruber.backup
main-html.js:54 16:37:53: SpellCheckerServiceDriverNative: Set effective languages to "en-US"
/home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:237 Uncaught TypeError: Cannot set properties of null (setting 'width')
    at /home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:237:25
    at Immer.produce (/home/builder/Documents/joplin2/packages/app-desktop/node_modules/immer/dist/immer.cjs.development.js:775:16)
    at MainScreenComponent.updateRootLayoutSize (/home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:235:51)
    at MainScreenComponent.window_resize (/home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:183:14)
(anonymous) @ /home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:237
produce @ /home/builder/Documents/joplin2/packages/app-desktop/node_modules/immer/dist/immer.cjs.development.js:775
updateRootLayoutSize @ /home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:235
window_resize @ /home/builder/Documents/joplin2/packages/app-desktop/gui/MainScreen/MainScreen.js:183
main-html.js:54 16:37:54: Loading existing note 0b7c9941f6fa43a98c7cd32704ea338d
main-html.js:54 16:37:54: PluginRunner: Got message (3): joplin.plugins.register {onStart: ƒ}
main-html.js:54 16:37:54: joplin.plugins: Starting plugin: io.github.personalizedrefrigerator.js-draw
@personalizedrefrigerator personalizedrefrigerator added bug It's a bug desktop All desktop platforms backlog We'll get to it... eventually... labels Feb 2, 2024
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 desktop All desktop platforms
Projects
None yet
Development

No branches or pull requests

1 participant