giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Search fails. #2498

Closed fyvfy closed 2 months ago

fyvfy commented 2 months ago

Version, Operative system cherrytree 1.1.1 on linux, cinnamon 6.0.4, gtk3-classic 3.24.41 (gtk4 not installed)

Describe the bug Fails to search some words

To Reproduce start cherrytree from terminal (to be able to see these messages). search in multiple nodes for 'ssl':

[2024-04-29 00:17:16.777] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:16.928] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 203
[2024-04-29 00:17:16.929] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:16.957] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 386
[2024-04-29 00:17:16.957] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:17.485] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 417
[2024-04-29 00:17:17.485] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:17.518] [   ] [debug] Search took 1 sec

good. now search 'ssh':

[2024-04-29 00:17:34.466] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:34.513] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 508
[2024-04-29 00:17:34.514] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:34.525] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 308
[2024-04-29 00:17:34.525] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:34.535] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 379
[2024-04-29 00:17:34.535] [   ] [debug] _parse_given_node_content find_iterated_last_name_n_tags_id 0
[2024-04-29 00:17:34.547] [gtk] [critical] 
unhandled exception (type Glib::Error) in signal handler:
domain: g-regex-error-quark
code  : 3
what  : Error while matching regular expression ssh: bad offset into UTF string

search process never completes. there is no window with found matches. also there is half-full progress bar in the bottom right corner.

Screenshots If applicable, add screenshots to help explain your problem.

I'm disappointed in you guys.

giuspen commented 2 months ago

I'm disappointed in the fact that you don't try the latest version before reporting a bug that has been already fixed