Bug 460120

Summary: Some annotation tools cannot display Chinese, or even cause application crash.
Product: [Applications] okular Reporter: Moss <moss-xhfeng>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: crash CC: aacid
Priority: NOR    
Version First Reported In: 22.08.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Moss 2022-10-08 14:03:48 UTC
SUMMARY
I cannot use Typewriter and Inlinenote to input Chinese. Entering Chinese in Inlinenote will directly cause the program to crash. Arrow and Straight Line have no effect. I can't create any lines with them.

STEPS TO REPRODUCE
1. Click the "show more annotation" button
2. Click the "Typewriter" button, "Inlinenote" button, "Arrow" button and "Straight Line" button
3. Click any point on the page to create Chinese text, or try to create lines.

OBSERVED RESULT
1. "Typewriter", "Arrow" and "Straight Line" didn't create anything.
2. After I entered Chinese in Inlinenote, the program stuck and then crashed.

EXPECTED RESULT
I can create and edit Chinese content on documents, or create lines.

SOFTWARE/OS VERSIONS
Windows: Windows 11  Professional 22H2, version 22621.521
Software: Okular  version 22.08.0 , installed with scoop extras buckets

ADDITIONAL INFORMATION
As a Chinese user, I have used okular as my main office software for a long time. I really appreciate the creators of okular. At the same time, I hope the okular will become better and better.
Comment 1 Moss 2022-10-08 14:18:18 UTC
(In reply to Moss from comment #0)
> SUMMARY
> I cannot use Typewriter and Inlinenote to input Chinese. Entering Chinese in
> Inlinenote will directly cause the program to crash. Arrow and Straight Line
> have no effect. I can't create any lines with them.
> 
> STEPS TO REPRODUCE
> 1. Click the "show more annotation" button
> 2. Click the "Typewriter" button, "Inlinenote" button, "Arrow" button and
> "Straight Line" button
> 3. Click any point on the page to create Chinese text, or try to create
> lines.
> 
> OBSERVED RESULT
> 1. "Typewriter", "Arrow" and "Straight Line" didn't create anything.
> 2. After I entered Chinese in Inlinenote, the program stuck and then crashed.
> 
> EXPECTED RESULT
> I can create and edit Chinese content on documents, or create lines.
> 
> SOFTWARE/OS VERSIONS
> Windows: Windows 11  Professional 22H2, version 22621.521
> Software: Okular  version 22.08.0 , installed with scoop extras buckets
> 
> ADDITIONAL INFORMATION
> As a Chinese user, I have used okular as my main office software for a long
> time. I really appreciate the creators of okular. At the same time, I hope
> the okular will become better and better.

I'm sorry, but I just found that the "Arrow" button and "Straight Line" button work normally, and there is a problem with my use method (I tried to drag a line instead of clicking ").
Comment 2 Albert Astals Cid 2022-10-26 21:23:20 UTC
Please in the future do not report different issues in the same bug, makes for terrible bug keeping.