bugGNU TeXmacs - Bugs: bug #63472, when using Sogou IM and custom...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #63472: when using Sogou IM and custom MacOS keyboard layout, TeXmacs crashes in dialogs

Submitter:  jadelight
Submitted:  Mon 05 Dec 2022 03:26:39 PM UTC
 
Category:  MacOS port Priority:  5 - Normal
Item Group:  Error Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release:  2.1.2
Fixed Release:  None Fixed Release: 
Keywords: 

( Jump to the original submission )

Fri 09 Dec 2022 12:54:13 PM UTC, comment #7: 

It turns out the problem occurs if the layout is used in my custom input method: Sogou input method. If I use the layout as a standalone input method, then the problem is gone.

jadelight
Fri 09 Dec 2022 12:35:16 PM UTC, comment #6: 

In fact, TeXmacs crashes if text is input in any diaglog. It turns out the problem is caused by a custom keyboard layout, which is attached for reference.

(file #54076)

jadelight
Thu 08 Dec 2022 02:41:35 PM UTC, comment #5: 

Now I found TeXmacs also crashes if I input a text character in the padding dialog of a table. So this issue may not be specific to gif only.

jadelight
Wed 07 Dec 2022 01:00:09 PM UTC, comment #4: 


comment #3:

> Ah, I see.
>
> Still, I cannot reproduce a crash when inserting an animated gif with this method, whatever I type into the width input box (or any other input box) of the "enter data" widget.
>
> However I get a benign (non-crash) error "Wrong type argument in position x" if I leave any of the input fields not edited (assuming a default value will be used). This is because the widget then returns the character_ #<eof> and not a string as expected.


Maybe it's OS dependent? What OS are you in?

jadelight
Wed 07 Dec 2022 09:05:35 AM UTC, comment #3: 

Ah, I see.

Still, I cannot reproduce a crash when inserting an animated gif with this method, whatever I type into the width input box (or any other input box) of the "enter data" widget.

However I get a benign (non-crash) error "Wrong type argument in position x" if I leave any of the input fields not edited (assuming a default value will be used). This is because the widget then returns the character_ #<eof> and not a string as expected.

Philippe Joyez <pjoyez>
Group Member
Tue 06 Dec 2022 02:35:27 AM UTC, comment #2: 


comment #1:

> When inserting animated Gif in Linux, TeXmacs does not crash (However, TeXmacs only displays the first frame. pdf export is static too -- I wasn't expecting differently, though latex seems able to produce pdfs with dynamic content).
> AFAIK the image insertion dialog is different on MacOs, indicating that the bug you see seems in MacOs specific code for image insertion.


To get animation, you do not insert through the image button, but the animation button.

jadelight
Mon 05 Dec 2022 08:14:46 PM UTC, comment #1: 

When inserting animated Gif in Linux, TeXmacs does not crash (However, TeXmacs only displays the first frame. pdf export is static too -- I wasn't expecting differently, though latex seems able to produce pdfs with dynamic content).
AFAIK the image insertion dialog is different on MacOs, indicating that the bug you see seems in MacOs specific code for image insertion.

Philippe Joyez <pjoyez>
Group Member
Mon 05 Dec 2022 03:26:39 PM UTC, original submission:  

When inserting GIF animations, TeXmacs crashes as soon as there I type a non-number character in the width input field.

jadelight

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #54076:  Disable@system@wide@Alt@shortcuts.keylayout added by jadelight (25KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by jadelight (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-14 pjoyez SummaryTeXmacs crashes when inserting GIF when using Sogou IM and custom MacOS keyboard layout, TeXmacs crashes in dialogs
    2022-12-09 jadelight Attached File- Added Disable@system@wide@Alt@shortcuts.keylayout, #54076

    Back to the top

    Powered by Savane 3.11