View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027800||Lazarus||IDE||public||2015-04-07 02:08||2018-08-24 09:51|
|Reporter||Vojtech Cihak||Assigned To||Martin Friebe|
|Product Version||1.5 (SVN)|
|Target Version||1.10||Fixed in Version||1.10|
|Summary||0027800: [Request] Auto-close Assembler when project stopped|
|Description||It would be nice to have some option (checkbox in Options) to auto-close Assembler window when project is stopped.|
When project is stopped, Assembler widnow become useless; it is full of
|Additional Information||Lazarus 1.5 r48562M FPC 3.1.1 x86_64-linux-qt|
|Tags||No tags attached.|
|Fixed in Revision||58522|
||If an option was added to prevent it from auto-open, would it still need to be auto closed?|
For me, Assembler window itself is useful, closing it is annoying.
While others on ML wanted to prevent it from opening.
Would it be posisible to have both options? :)
I guess yes.
Though auto-closing an asm window that was explicitly opened by the user, will only be a workaround for (and until becomes available) desktop profiles.
desktop profiles = Store different location and visibility states for *all* windows, depending on debug, none, debug, and other (including user selection)
Also about: "not usable after debug". If you hit the "power" button, and set it to off, the content off the window should remain. (That does not interfere with the request.)
I think it's auto open system should enabled by default but can disable it.
Also as Vojtech said it need to close after project stops but also can disable it.
||Can I just add that if the decision is to default open the ASM window, that the option to "Do not show Assembler" checkbox be at the bottom off the ASM window, so we don't have to go hunting for the option to shut off auto-open in the Tools /Options tree. (It shd be in the options tree also, but having it in the ASM window makes it easy to shut off permanently)|
||%subj: it is good wish, +1.|
||Will this still be implemented? When?|
In revision 58522 an auto close option is implemented that acts if (and only if) the asm window was auto-opened. That is: opened by breaking at a line without source.
If you opened it otherwise, it is assumed you may need it in the next debug session again.
Also as soon as you trigger either the menu for the window (even if it is already open) or the key combo, then the auto close flag will be cleared. (Those actions are interpreted, as you want to keep the window for the next session)
If you close the window, and it gets re-opened by a no-source-break, the flag is set again.
If the window is flagged as auto close-able, then it will close when either:
- the debugger stops
- a break at a source line is reached (breakpoint, stepping, ...)
If you run, and the app does not get paused, then it stays open until any of the above events happens. The debugger does not yet know if the next pause is at a none-source line, and the window might be needed again.
The option is disabled by default. (Tools > Options > Debugger)
Please test, and close if ok.
||Thanks. I tested and works as described: auto-closes only if auto-opened.|
|2015-04-07 02:08||Vojtech Cihak||New Issue|
|2015-04-07 02:25||Martin Friebe||Assigned To||=> Martin Friebe|
|2015-04-07 02:25||Martin Friebe||Status||new => assigned|
|2015-04-07 12:48||Martin Friebe||Note Added: 0082689|
|2015-04-07 14:28||Vojtech Cihak||Note Added: 0082693|
|2015-04-07 14:45||Martin Friebe||Note Added: 0082694|
|2015-04-13 19:06||Aradeonas||Note Added: 0082886|
|2018-01-07 04:55||Kevin Morris||Note Added: 0105424|
|2018-01-07 10:04||CudaText man||Note Added: 0105430|
|2018-03-24 15:12||Giovanni Seara||Note Added: 0107392|
|2018-07-14 22:43||Martin Friebe||Fixed in Revision||=> 58522|
|2018-07-14 22:43||Martin Friebe||LazTarget||=> 1.10|
|2018-07-14 22:43||Martin Friebe||Note Added: 0109463|
|2018-07-14 22:43||Martin Friebe||Status||assigned => resolved|
|2018-07-14 22:43||Martin Friebe||Fixed in Version||=> 1.10|
|2018-07-14 22:43||Martin Friebe||Resolution||open => fixed|
|2018-07-14 22:43||Martin Friebe||Target Version||=> 1.10|
|2018-07-15 01:47||Vojtech Cihak||Note Added: 0109478|
|2018-07-15 01:47||Vojtech Cihak||Status||resolved => closed|
|2018-08-24 09:51||Juha Manninen||Relationship added||related to 0034175|