bugGNU TeXmacs - Bugs: bug #65340, "view attached to other...

 
 

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

bug #65340: "view attached to other window" error when search window is open

Submitter:  Liza Belos <lizabelos>
Submitted:  Wed 21 Feb 2024 11:11:41 AM UTC
   
 
Category:  Editor Priority:  5 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  lizabelos
Originator Name:  Open/Closed:  Closed
Release:  None Release:  2.1.2
Fixed Release:  None Fixed Release:  2.1.4
Keywords: 

Tue 09 Apr 2024 09:34:24 PM UTC, comment #3: 

My theory is that bug 61884 originates from a double deletion of the 'qwid' variable. Qt manages the deletion of 'QWidget' objects via its parent-child relationship system. For instance, if you create a `QPushButton` as a child of a 'QMainWindow', the button will be automatically deleted when the main window is closed and deleted. I'm working on a fix.

Liza Belos <lizabelos>
Group Member
Tue 09 Apr 2024 06:36:57 PM UTC, comment #2: 

This fix reverted what was introduced to fix bug #61884 (but which was clearly imperfect). I haven't checked but I presume that bug is back (see comment #7 for latest info on that bug). If so, can we reach a common fix?

Philippe Joyez <pjoyez>
Group Member
Mon 08 Apr 2024 12:24:38 PM UTC, comment #1: 

fixed in svn version 14333

Liza Belos <lizabelos>
Group Member
Wed 21 Feb 2024 11:11:41 AM UTC, original submission:  

1. Open an empty TeXmacs document.
2. Keep only this document open. Close any other TeXmacs windows.
3. Open the search dialog. Type something into it.
4. Without closing the search window, go to the "File" menu and click on "Close TeXmacs".

This should produce this error: "view attached to other window" (line 389 in new_view.cpp).

This error occurs because TeXmacs is attempting to open the "Do you want to save the file?" dialog for the buffer of the search window.

Liza Belos <lizabelos>
Group Member

 

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

No files currently attached

 

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 lizabelos (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
    2024-04-09 lizabelos StatusFixed In Progress
    2024-04-08 lizabelos StatusNone Fixed
        Assigned toNone lizabelos
        Open/ClosedOpen Closed
        Release 2.1.2
        Fixed Release 2.1.4

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code