Bug #109360 Workbench lost open Query Tab on crash/ miss save opened tab
Submitted: 13 Dec 2022 10:07 Modified: 27 Dec 2022 18:51
Reporter: Valerio Messina Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:8.0.31 OS:Windows
Assigned to: CPU Architecture:Any

[13 Dec 2022 10:07] Valerio Messina
Description:
Workbench miss a menu option/button to save open "Query Tabs".

This is even worse as when crash, it cannot restore the open tab of previous session

How to repeat:
open some "Query Tabs"
wait for a crash
open Workbench
it throw an error like the attached one
and do not restore "Query Tabs"

Suggested fix:
let user save and re-open current state of query tabs with a dedicated entry in File menu.
[13 Dec 2022 10:09] Valerio Messina
the error on restart, where the path is say "no such file" while it exist

Attachment: MySQL_Workspace_Error.png (image/png, text), 7.47 KiB.

[23 Dec 2022 12:10] MySQL Verification Team
Hello Valerio Messina,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 with workbench 8.0.31 but I am not seeing any issues at my end. 

Regards,
Ashwini Patil
[27 Dec 2022 18:50] Valerio Messina
obviously can depend on the kind of crash that happen.
How do you caused the crash to Workbench?
[27 Dec 2022 18:51] Valerio Messina
did you considered my
Suggested fix:
let user save and re-open current state of query tabs with a dedicated entry in File menu
?