bugGNU TeXmacs - Bugs: bug #59519, Another case where window is...

 
 

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

bug #59519: Another case where window is closed with changes being lost

Submitter:  Basile <baudoly>
Submitted:  Mon 23 Nov 2020 02:30:25 PM UTC
   
 
Category:  User Interface Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.15
Fixed Release:  None Fixed Release: 
Keywords: 

Thu 04 Mar 2021 11:00:45 AM UTC, comment #5: 

Fixed in revision 13377.

Joris van der Hoeven <vdhoeven>
Group administrator
Thu 04 Mar 2021 10:57:10 AM UTC, comment #4: 

Thanks for the patch.
I applied it after a few slight modifications.

Please re-open if you still experience variants of this bug.


Joris van der Hoeven <vdhoeven>
Group administrator
Wed 24 Feb 2021 09:55:07 PM UTC, comment #3: 

It can properly be implemented in a nicer way, but the attached patch seems to fix the problem.

(file #50916)

Jeroen Wouters <jeronim>
Group Member
Wed 24 Feb 2021 09:35:54 PM UTC, comment #2: 

From some experimenting it seems that "safely-kill-window" in "tm-server.scm" is called with the option "opt-name" set to the url "tmfs://window/2".

In this case the function doesn't call "user-confirm" as it should, but immediately calls "kill-window".

Jeroen Wouters <jeronim>
Group Member
Wed 25 Nov 2020 07:07:23 AM UTC, comment #1: 

The bug also occurs if you close the red button of the first window instead.

Basile <baudoly>
Mon 23 Nov 2020 02:30:25 PM UTC, original submission:  

In the default window that TeXmacs open for you, type 'a'.
Next, choose File > New, and type 'b' in the second window.
Push red button of second window: it closes without a prompt for saving dirty content.

Basile <baudoly>

 

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

Attached Files
file #50916:  safely-kill-window.diff added by jeronim (1KiB - text/x-patch)

 

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 jeronim (Posted a comment)
  • -email is unavailable- added by baudoly (Submitted the item)
  • -email is unavailable- added by baudoly
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-04 vdhoeven StatusNone Fixed
        Assigned toNone vdhoeven
        Open/ClosedOpen Closed
    2021-02-24 jeronim Attached File- Added safely-kill-window.diff, #50916
    2020-11-23 baudoly Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code