While reviewing #194, I noticed that when resizing the Node Window
while in -disablewallet=1
mode, the Main Window
, when in disablewallet=0
mode, inherits the geometry of the recently resized Node Window
.
There is/can be a reason for a user to resize the Node Window
and to do so while in -disablewallet=1
mode. For example, the following use-cases may require a certain wide geometry:
- resize to fit more network information on the network graph
- resize to fit all of the peer details on the screen
- resize to better accommodate the, still a work in progress, mempool graph
When the user then runs bitcoin-qt -disablewallet=0
, they want to do something with the wallet. It can be a surprise/unexpected behavior that the main window
starts as wide as his node window
was resized to. As such, because the Node Window
required a wide geometry, the Main Window
should not by default adopt this wide geometry when switching between -disablewallet=0
and -disablewallet=1
Steps to Reproduce
- Run
bitcoin-qt -disablewallet=0
, go toMenu
->Window
->Information
, note the size of theNode window
then quit - Run
bitcoin-qt -disablewallet=1
, resize theNode Window
then quit - Run
bitcoin-qt -disablewallet=0
, TheMain Window
inherited the size of the resizedNode Window
System macOS 11.2, Qt 5.15.2