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

 
 

You are not allowed to post comments on this tracker with your current authentification 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 InterfacePriority: 7 - High
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

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:
http://www.texmacs.org/Download/ftp/tmftp/generic/TeXmacs-1.0.7.19-x11-i386-pc-linux-gnu.tar.gz

Unaffected version:
http://www.texmacs.org/Download/ftp/tmftp/windows/TeXmacs-1.0.7.19-installer.exe

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 29 Nov 2013 05:00:25 PM UTCvdhoevenPriority5 - Normal=>7 - High
      Assigned toNone=>vdhoeven
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup