You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the line marked with run-me:. It calls fullscreen-box on a port to child1.useful-box
Expected result:fullscreen-box makes the port fullscreen just like what happens when I click on the port's top-right corner.
Unexpected result:fullscreen-box returns a Boxer error:
Error: RESIZE-ERROR
Primitive FULLSCREEN-BOX
You Can only Zoom Visible Editor boxes
Screenshot of child2 from the repro file:
Use case
Suppose you have a box of common utilities that you keep at the root of your project. Suppose you're currently working several boxes down from that and you just built a new utility that you think will be useful to add to the common utilities. With this capability, you can do something like fullscreen-box port-to root-box (maybe even wire this up to a hotkey). When you're done adding the utility, you just close the box and you're back to where you were working.
An approach to achieve the same thing that works now is to get a port to the root box and then make it fullscreen by clicking on its top-right corner.
These workflows have an advantage over manually navigating to the root box. The downside of this workflow is that when you're done adding the common utility, you've lost the position where you were working. So this workflow has a higher context switching cost.
The text was updated successfully, but these errors were encountered:
Repro steps
I reproed this with Boxer
3.4.19 2024-06-24
child2
to view the box fullscreenrun-me:
. It callsfullscreen-box
on a port tochild1.useful-box
Expected result:
fullscreen-box
makes the port fullscreen just like what happens when I click on the port's top-right corner.Unexpected result:
fullscreen-box
returns a Boxer error:Screenshot of
child2
from the repro file:Use case
Suppose you have a box of common utilities that you keep at the root of your project. Suppose you're currently working several boxes down from that and you just built a new utility that you think will be useful to add to the common utilities. With this capability, you can do something like
fullscreen-box port-to root-box
(maybe even wire this up to a hotkey). When you're done adding the utility, you just close the box and you're back to where you were working.An approach to achieve the same thing that works now is to get a port to the root box and then make it fullscreen by clicking on its top-right corner.
These workflows have an advantage over manually navigating to the root box. The downside of this workflow is that when you're done adding the common utility, you've lost the position where you were working. So this workflow has a higher context switching cost.
The text was updated successfully, but these errors were encountered: