View Issue Details

IDProjectCategoryView StatusLast Update
0017125MMW 5Generalpublic2022-06-21 23:42
Reporterdrakinite Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0017125: Developer Mode (in About dlg) does not work
DescriptionThe app.enabledDeveloperMode function doesn't function properly, which is used by the script in dlgAbout.js. The script seems to be correct, but after attempting to enable developer mode, the program still attempts to submit crash logs.
Additionally, when opening the About dlg again, the checkbox is once again unchecked. If possible, I think the app.enabledDeveloperMode function should return a boolean with its enabled/disabled state, so that dlgAbout.js can query it when the dialog loads.
TagsNo tags attached.
Fixed in build2277

Relationships

parent of 0019211 closedLudek Developer Mode checkbox no longer displays (regression) 

Activities

petr

2020-11-23 20:38

developer   ~0060359

I've tried and work correctly for me.
Tried this code
        app.enabledDeveloperMode(true);
        var x = x / y; // y is undefined
and i've got standard error dialog (not eureka with send command).
State of the checkbox in About dialog will fix.

petr

2020-11-23 20:49

developer   ~0060360

Checkbox state in About dialog fixed

drakinite

2020-11-23 23:22

developer   ~0060362

Ah, cool, putting app.enabledDeveloperMode(true) inside the js itself does work for me. I suppose that the issue was the developer mode not being persistent after a reload. Will the aforementioned fix of the checkbox state in About dialog do that? (remembering the state of developer mode after a reload)

peke

2020-11-28 11:54

developer   ~0060420

Last edited: 2020-11-28 11:54

Reopen for feedback:
1. Start MM5
2. About
3. Enable Developer mode
4. File -> Exit
5. Start MM5
6. About
7. Developer mode disabled (as pointed in 0017125:0060362 expected would be that it stays enabled)

petr

2020-11-28 22:33

developer   ~0060438

That's the question whether to remember this kind of settings ... Rusty ?

drakinite

2020-11-28 23:37

developer   ~0060440

Developers are likely to close + reopen MM over and over, so it would be tedious to enable developer mode every time, in my opinion.

rusty

2020-11-29 01:17

administrator   ~0060441

Yes I agree with Peke/Drakinite. In most other apps a 'Developer Mode' setting is persistent.

petr

2020-11-29 13:18

developer   ~0060444

Fixed

peke

2020-12-02 23:47

developer   ~0060510

Verified 2277

Checkbox is persistent.