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:  3 - Low
Item Group:  Error Status:  Need Info
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1.2
Fixed Release:  None Fixed Release: 
Keywords: 

Jump to the original submission

Sat 28 Oct 2023 03:34:21 PM UTC, comment #11: 

closing as per #9

Philippe Joyez <pjoyez>
Group Member
Mon 07 Aug 2023 02:46:19 PM UTC, comment #10: 

"not using" should be "using"

comment #9:

> I believe this is not frequently used by others. The reason to use a custom keyboard layout is to disable Alt+Latin shortcuts in Mac OS. I end up not using custom keyboard layout separately from Sogou, and it's ok for my workflow. You may close this bug.
> comment #8:
> > I don't have a way to debug this.
> > Is this a very serious problem?
> >
> > This is the first time that I hear about the Sogou IM with a custom MacOS keyboard layout.  Is this frequently used by others, or more of a personal thing?
> >

jadelight
Mon 07 Aug 2023 02:33:18 PM UTC, comment #9: 

I believe this is not frequently used by others. The reason to use a custom keyboard layout is to disable Alt+Latin shortcuts in Mac OS. I end up not using custom keyboard layout separately from Sogou, and it's ok for my workflow. You may close this bug.
comment #8:

> I don't have a way to debug this.
> Is this a very serious problem?
>
> This is the first time that I hear about the Sogou IM with a custom MacOS keyboard layout.  Is this frequently used by others, or more of a personal thing?
>

jadelight
Mon 07 Aug 2023 02:06:43 PM UTC, comment #8: 

I don't have a way to debug this.
Is this a very serious problem?

This is the first time that I hear about the Sogou IM with a custom MacOS keyboard layout.  Is this frequently used by others, or more of a personal thing?

Joris van der Hoeven <vdhoeven>
Group administrator
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 vdhoeven (Posted a comment)
  • -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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-28 pjoyez Open/ClosedOpen Closed
    2023-08-07 vdhoeven Priority5 - Normal 3 - Low
        StatusNone Need Info
        Assigned toNone vdhoeven
    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.12