bugGNU TeXmacs - Bugs: bug #37181, Closing a window closes its cloned...


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

bug #37181: Closing a window closes its cloned window.

Submitted by:  Miguel de Benito <mdbenito>
Submitted on:  Fri 24 Aug 2012 11:54:42 AM UTC  
Category:  User Interface Priority:  7 - High
Item Group:  Error Status:  Confirmed
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Closed
Release:  Release:  None
Fixed Release:  None Fixed Release: 

Fri 29 Nov 2013 05:00:25 PM UTC, comment #4:

Fixed in revision 7956.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Thu 06 Jun 2013 06:10:22 AM UTC, comment #3:

Oh, I did't notice that it was in fact a crash:

texmacs.bin: ./Plugins/Widkit/Basic/basic_widget.cpp:124: void basic_widget_rep::handle_attach_window(event_ptr<attach_window_event_rep>): Assertion `false' failed.

Rossen Mikhov <log65536>
Thu 06 Jun 2013 05:53:29 AM UTC, comment #2:

I don't know whether it is a related or a separate bug, but a similar problem occurs on linux.

To reproduce:
1. Start texmacs from the command line with "texmacs file1.tm file2.tm". This opens two windows.
2. Go to the window with file1.tm and type "Some Important Data".
2. Go to the window with file2.tm, and from the File menu, select Close Document.
3. Both documents close, TeXmacs exits, and your Important Data is lost.

Note that you have to type the Important Data in file1.tm, and then close file2.tm. Doing it the other way round does not hit the bug.

This is not related to command-line handling, as you can alternatively hit the bug by only using the View -> Open New Window menu (though it is harder to describe).

I have tested this on Linux and Windows. Windows doesn't seem to be affected.

Affected version:

Unaffected version:

Rossen Mikhov <log65536>
Mon 27 Aug 2012 09:22:52 AM UTC, comment #1:

The problem you describe does not occur on linux and windows (I only tested the Qt version).

Philippe Joyez <pjoyez>
Project Member
Fri 24 Aug 2012 11:54:42 AM UTC, original submission:

Both in WidKit and Qt, under MacOS:

  • Launch TeXmacs
  • Clone the window
  • Click on the old window's red button to close it, without focusing on it (i.e. while it's on the background)
  • The new window closes.

If on the other hand you give focus to the old window, then you close, the right window is closed.

Miguel de Benito <mdbenito>
Project Member


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 vdhoeven (Posted a comment)
  • -email is unavailable- added by log65536 (Posted a comment)
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by mdbenito (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-29 vdhoeven Priority5 - Normal => 7 - High
        Assigned toNone => vdhoeven
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3