cvut / qtrvsim

RISC-V CPU simulator for education purposes
GNU General Public License v3.0
493 stars 65 forks source link

Feature request: Sidebar visibility actions should toggle the sidebar instead of only opening it #58

Open MatejKafka opened 1 year ago

MatejKafka commented 1 year ago

Currently, the actions in the "Windows" menu (also available through the assigned hotkeys) add the sidebar/window when pressed, but to hide it, you have to click the "X" button at the top of the window with a mouse. The only exception is the "Core View" action, which works as a checkbox and toggles visibility of the core view.

In most software with similar layout (e.g. IDEs), pressing the same button/hotkey again hides the window, which lets you avoid using the mouse. I believe it would be more intuitive to make all the actions in the "Windows" menu work similarly to the "Core view" button, allowing the user to hide the window with the same action.

image