bugGNU TeXmacs - Bugs: bug #61989, issues with hlinks and folds in...

 
 

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

bug #61989: issues with hlinks and folds in alt-window (apidoc, in particular)

Submitter:  Philippe Joyez <pjoyez>
Submitted:  Fri 04 Feb 2022 09:36:46 AM UTC
   
 
Category:  Qt port Priority:  5 - Normal
Item Group:  Error Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Fri 05 May 2023 12:42:38 PM UTC, comment #1: 

The initial summary was "Exception, view attached to other window"

That initial bug appeared after unfolding a "folded-explain" tag in the "documentation" alt-window. Removing the fold tag works around the bug. Implemented in r14115. With that change there is no longer an issue for closing TeXmacs from the menu, yet in the console we get:

>free(): invalid pointer
>Abandon


when texmacs quits.

While working on that issue I have also found that the hlinks tags in that same "documentation" alt-window are not working (They are meant to open the scm source files, and these hlinks work as expected when copy-pasted in a standard window). In r14115 I worked around that by using an action tag in place of the hlink.

I change the summary to reflect that I suspect issues are due to using alt-windows and I keep the bug open.

Philippe Joyez <pjoyez>
Group Member
Fri 04 Feb 2022 09:36:46 AM UTC, original submission:  

Bug seen in up-to-date linux and windows builds.

Steps to reproduce:

launch texmacs. In the developer menu open the symbol browser. Select any item in the list (e.g. "add-user") and click "see documentation". In the pop-up window click on the green "Definition..." to see the scheme code.

From that point on, if you ask to close texmacs from the menu, it throws an error:
TeXmacs] failed-error, Exception, view attached to other window
and some debug info is shown on the console (see attached file)

It does not matter if you close the window showing the scheme code and/or the symbol browser before asking to close TeXmacs from the menu: the error will occur in any case, and as many time as you try. On the other hand, if you click the main window's closing button, TeXmacs does close. It seems it's the only way to close it nicely.

Philippe Joyez <pjoyez>
Group Member

 

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

Attached Files
file #52802:  backtrace added by pjoyez (4KiB - 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 (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-05-05 pjoyez SummaryException, view attached to other window issues with hlinks and folds in alt-window (apidoc, in particular)
    2022-02-04 pjoyez Attached File- Added backtrace, #52802

    Back to the top

    Powered by Savane 3.13-7b9d.
    Corresponding source code