Bug Report - Initial modified files are dismissed on Cancel

Open source general-purpose IDE, lightweight text editor. Previously known as AutoGUI.
dipahk
Posts: 18
Joined: 15 Apr 2016, 16:01
Location: Germany

Bug Report - Initial modified files are dismissed on Cancel

Post by dipahk » 18 May 2021, 17:09

This is really a great AHK editor and debugger. It could even replace my long time favorite Scite4AutoHotkey (I never got familiar with AHK Studio).

I found the following bug:

Steps to reproduce:
- Start Adventure IDE without loading a previous session
- Type something so that the currently open file "Untitled" is modified (don't save)
- Create a second new file "Untitled 2" and type something (don't save)
- Don't save neither Untitled nor Untitled 2
- Click on "File->Exit" or the X in the title bar to close the open main window
- When the warning window "Untitled 2 * - The files was modified. Do you want to save it?" pops up click on Cancel.

Result: The main Adventure window closes and your typed input is lost.

Expected behavior: Only the warning window should be closed and the main window with Untitled and Untitled 2 should stay open.

User avatar
Alguimist
Posts: 428
Joined: 05 Oct 2015, 16:41
Contact:

Re: Bug Report - Initial modified files are dismissed on Cancel

Post by Alguimist » 31 Jul 2021, 14:04

Hi, @dipahk! Sorry for the late reply.

I performed the test as you described, but I couldn't reproduce the bug.
• Clicking on the Cancel button aborts the exit operation.
• The main window only closes when clicking on "No to All".

dipahk
Posts: 18
Joined: 15 Apr 2016, 16:01
Location: Germany

Re: Bug Report - Initial modified files are dismissed on Cancel

Post by dipahk » 01 Aug 2021, 16:29

Hi @Alguimist ,
did you create TWO unsaved files ("Untitled" and "Untitled 2") as described above?
When I create only one file everything is ok. But with two files the behavior on my computer is as described in my first post.

dipahk
Posts: 18
Joined: 15 Apr 2016, 16:01
Location: Germany

Re: Bug Report - Initial modified files are dismissed on Cancel

Post by dipahk » 01 Aug 2021, 16:54

I made a short screen recording video showing the bug. It is included in the enclosed zip-file since *.mp4-files are not allows as attachments.

dipahk
Posts: 18
Joined: 15 Apr 2016, 16:01
Location: Germany

Re: Bug Report - Initial modified files are dismissed on Cancel

Post by dipahk » 01 Aug 2021, 17:05

The zip file was rejected due to its size (> 2MB). I created and uploaded a new one which is smaller.
Attachments
Adventure bug.zip
(1.53 MiB) Downloaded 93 times

Post Reply

Return to “Adventure IDE”