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

Submitted by:  Basile <baudoly>
Submitted on:  Mon 23 Nov 2020 02:30:25 PM UTC  
 
Category:  User Interface Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Closed
Release:  1.99.15 Release:  None
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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)

JW <jeronim>
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".

JW <jeronim>
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>

 

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
  •  

    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 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 baudoly@gmail.com

    Back to the top


    Powered by Savane 3.5