Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
198 stars 29 forks source link

RIDE always shows status window #529

Open abrudz opened 5 years ago

abrudz commented 5 years ago

Describe the issue you are having

2036⌶0 turns off "Autostatus", that is, popping up the status window when text is written to it. RIDE seems to ignore that.

startup.dyalog, the "boot-loader" for Link, relies on this behaviour.

Did you connect to an already running interpreter or start the interpreter from RIDE?

Start an interpreter

How do you reproduce the issue?

      2036⌶0
1
      2⎕FIX':class' ':endclass'
DOMAIN ERROR: unnamed namespaces are not permitted when fixing multiple objects
      2 ⎕FIX':class' ':endclass'
        ∧

image

Paste the contents of Help → About (Shift+F1)

IDE:
  Version: 4.2.3370
  Platform: Win32
  Date: 2018-07-10 16:00:02 +0200
  Git commit: a9571b73a3c1fe8466c0db329952376414b9e7e1
  Preferences:{
    "floatSingle":"0",
    "floating":"1",
    "ime":"0",
    "kbdLocale":"en_GB",
    "keys":"{\"FX\":[\"Ctrl-S\"]}",
    "lbarOrder":"← +-×÷*⍟⌹○!? |⌈⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↑↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∪∩~ /\\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇& ¯⍬ ",
    "pfkeys":"[\"\",\"\",\"\",\"\",\"\",\"<ZMI><TC>\",\"\",\"\",\"\",\"\",\"<BP><RM><TC><BP>\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]",
    "selectedExe":"C:\\Program Files\\Dyalog\\Dyalog APL-64 18.0 Unicode\\dyalog.exe",
    "squiggleTips":"1",
    "zoom":"6"
  }

Interpreter:
  Version: 18.0.35814
  Platform: Windows-64
  Edition: Unicode/64
  Date: Mar  7 2019 at 21:03:53
abrudz commented 5 years ago

This may require amending the protocol, as I see no option to add output without showing the window.

e9gille commented 5 years ago

Yes, either protocol change or the interpreter simply could omit posting the message if user turns of the feature.

abrudz commented 5 years ago

In the IDE, the message is still written if auto-status is off, but the window isn't shown, so the user can manually go and inspect what happened. Anyway, I suggest adding show: false

abrudz commented 5 years ago

I've raised issue 17116 for the interpreter side of things.

jayfoad commented 5 years ago

I suggest that the interpreter has no business telling RIDE whether to show the status window. That should be a RIDE preference.

e9gille commented 5 years ago

That should be a RIDE preference.

Sure, but at the moment the developer can suppress the window using the I-beam. I don't know where to draw the line, but at the moment RIDE isn't notified of this. We could add a preference in RIDE, set a sensible default (off?) and ignore the I-beam?

abrudz commented 5 years ago

@jayfoad No, the interpreter is not telling RIDE to show the window or not, it is just telling RIDE what the current interpreter status (the one set with an I-beam) is. RIDE (or whatever is at the other end of the line) can of course do whatever it wants with that information.