ace-dent / picotracker

Track boogs for Picotron (unofficial)
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

[BUG] Changing video mode in a windowed Terminal causes problems for desktop environment #15

Open ace-dent opened 5 months ago

ace-dent commented 5 months ago

Describe the bug / feature When changing the video mode in a windowed terminal (rather than a workspace), the terminal becomes full screen and it can make the desktop unusable.

From the forum:

Changing video mode via vid() function in a terminal window on the desktop switches the whole desktop to a fullscreen terminal that, as far as I can tell, can't be exited. -- phaselock.studio

To Reproduce Steps to reproduce the behavior:

  1. Create a windowed Terminal not a workspace, e.g. type terminal on the command line or run the app to launch.
  2. In this window, type vid(3). This lowers the video resolution.
  3. The window is now full screen and very difficult to close.
  4. The video mode has affected the entire desktop environment; the mouse pointer no longer functions correctly, making it very hard to operate.
  5. Type vid(0). The desktop is more useable. The Terminal is still full screen and no longer in a window.

Expected behavior The GUI should function regardless of the resolution (ideally). Changing video mode should not make the Terminal full screen when it was windowed.

Software (please complete the following information):

ace-dent commented 5 months ago

Re-tested with release v0.1.0d on macOS. Still problematic.

ace-dent commented 3 months ago

Re-tested with release v0.1.0g on macOS. Issue still exists but perhaps slightly improved(?). Biggest issue is after vid(3)-->vid(0) cycle, the desktop is hidden by a fullscreen Terminal window, with no GUI to close (can close with exit).