laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
45.84k stars 4.97k forks source link

v1.8.3 Change application layout menu item cannot change column widths in some instances (Windows) #4923

Open DawMatt opened 3 years ago

DawMatt commented 3 years ago

It is possible to provoke a situation where Change application layout will not let the user change a column's width. The only way to resolve this is by restarting the application.

This is easiest to demonstrate with a plugin but should not be possible regardless of how the plugin is written.

Environment

Joplin 1.8.3 (prod, win32)

Client ID: f9762fbb0498468db55ba0d460a572d3 Sync Version: 2 Profile Version: 35 Keychain Supported: Yes

Revision: 26a91416c

Platform: Windows 10 OS specifics: Multi-monitor

Steps to reproduce

  1. Install the joplin-outline plugin
  2. Follow keys steps in this bug logged against the jopline-outline plugin 2.1. Setup Outline column as the correct width using View -> Change application layout menu item 2.3. Create a new blank note using the Note button or Control + N key, then add a level 1 heading to the note
  3. Try to use View -> Change application layout menu item to restore the original column layout from before

Describe what you expected to happen

At step 2.3 I didn't expect the Outline column's width to reset. 20210506-step 4

So in step 3 I tried to reset this. Change application layout was no longer able to change the width of the Outline column. If you compare the screenshot with regular behaviour of this menu item you will note that the draggable line between Outline and the next column is invisible, and it is no longer possible to position the mouse over that line to drag it back into place. The only way to resolve this is by quitting and restarting Joplin.

20210506-step 5

Logfile

log-v1-8-3.txt

DawMatt commented 3 years ago

I've been able to reproduce this issue on my Mac as well, so it doesn't appear to be OS specific.

DawMatt commented 3 years ago

The joplin-outline plugin version I used to provoke this issue was v1.1.8. The plugin has since been upgraded to v1.2.0 and no longer seems to trigger the issue. Please make sure you use v1.1.8 of the plugin if you want use it to help trigger the issue.

DawMatt commented 3 years ago

@laurent22 , which version of the jopline-outline plugin did you use? The latest version is no longer triggering the issue.

laurent22 commented 3 years ago

1.18 and I couldn't replicate the bug