cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

Checkboxes are not clicable (see example)

Open lua-rocks opened this issue 3 years ago • 7 comments

Here is the example:

bug.ctb.zip

The first checkbox is clickable, all the others are not.

lua-rocks avatar Dec 22 '21 14:12 lua-rocks

you need 3 space in front of line rather then a tab in the second or third line

meijialun avatar Dec 31 '21 06:12 meijialun

@meijialun Thank you very much! But is still think this is a wrong behavior. How could I know that there had to be spaces and exact 3? It would be nice if the required indent width and type were matched the ones specified in the program settings.

lua-rocks avatar Dec 31 '21 06:12 lua-rocks

@lua-rocks just push enter at the end of the line, or press tab if you want retract. You have the wrong case because you copy and paste the content from somewhere else (e.g. microsoft word). Snipaste_2022-01-02_21-31-28

meijialun avatar Jan 02 '22 13:01 meijialun

@meijialun no, you misunderstand me. I got it wrong because I set it up wrong. If you open preferences, the first option you can see there is "tab with" and I usually prefer 2 with spaces, but no matter what value you specify - all except 3 with spaces will lead to this issue!

lua-rocks avatar Jan 02 '22 13:01 lua-rocks

If you press enter for subsequent list items and then click Tab to indent while the cursor is on the list item or Shift+Tab to un-indent it works. Currently this is the only supported mode with 3 spaces for indentation but you don't need to have 3 spaces in the preferences as a tab on a list item is recognised and has a special behaviour

giuspen avatar Jan 08 '22 12:01 giuspen

@giuspen Yes, I checked, you're right. Basically I'm totally fine with 3 spaces, I just don't think it's good that I must to use only this indent type if I want all the indents in my document to be the same. But of course, it's not very important compared to other issues.

lua-rocks avatar Jan 08 '22 15:01 lua-rocks

This is very confusing. Spent awhile trying to figure out why some checkboxes were working and some were not. It seems like if the checkbox is designated as a special character, it should function regardless of if there are exactly 3 spaces in front of it

Kansai53 avatar Jul 31 '24 22:07 Kansai53