openmsx debugger layout question

By treblig

Resident (58)

treblig's picture

10-08-2023, 00:23

I've a weird issue. By accident, I messed up the layout of the openMSX Debugger. However, I cannot get it back to its default state.

I deleted:
~/Library/Saved Application State/org.openmsx.openmsx-debugger.savedState/*
~/Library/Preferences/com.openmsx.debugger.plist

When I (re)start the debugger, the aforementioned files are created again, but the layout is still the same. Does anyone know where the layout is saved on macOS?

PS: I'm working with the current git-master version.

Login or register to post comments

By DamnedAngel

Champion (286)

DamnedAngel's picture

10-08-2023, 01:56

1. From the Menu, show the widgets you want to get back.
2. Whisper a dark prayer to summon the dark devils of windows snapping.
3. Light some black candles around your Mac forging a pentagram. Drag the widgets by their caption and wave them around in the shape of upside-down cross until you can get them to snap and stick back to the master window, hopefully in some arrangement you like.
4. Meditate for a while about how you'll never mess with these evil widgets again, and sacrifice a USB Mouse to the Souls of the Dead MSXs to demonstrate your commitment to it.

By treblig

Resident (58)

treblig's picture

10-08-2023, 09:29

Yes exactly. It is that hard. The stack widget won’t go in the position I want it to be. The current layout is a big pixel waste of unused gray parts.

By sd_snatcher

Prophet (3675)

sd_snatcher's picture

10-08-2023, 16:07

treblig wrote:

I've a weird issue. By accident, I messed up the layout of the openMSX Debugger.

When this happens to me, I kill the debugger process, so it doesn't save the layout when quitting and I don't have to go through the nightmare of reorganizing its layout ever again.

But since yours has already saved the mess, I can only wish you luck to restore it.

If you happen to find out where it stores its layout configuration, please share the info here so I can backup that damn file.

By Manuel

Ascended (19678)

Manuel's picture

10-08-2023, 18:22

https://doc.qt.io/qt-5/qsettings.html documents where settings of Qt based programs are stored per operating system.

By NYYRIKKI

Enlighted (6093)

NYYRIKKI's picture

10-08-2023, 23:35

Edit: Please forget... I missed the macOS

--------

Hmm...

I faintly remember I've been fighting with this issue and back then I found this to be best solution for me:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\openMSX\debugger\Layout]
"WindowGeometry"=hex:40,00,42,00,79,00,74,00,65,00,41,00,72,00,72,00,61,00,79,\
  00,28,00,01,00,d9,00,d0,00,cb,00,00,00,02,00,00,00,00,00,ff,00,ff,00,ff,00,\
  f8,00,ff,00,ff,00,ff,00,f8,00,00,00,00,00,05,00,5d,00,00,00,00,00,02,00,df,\
  00,00,00,00,00,01,00,62,00,00,00,00,00,00,00,1f,00,00,00,00,00,04,00,70,00,\
  00,00,00,00,02,00,df,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,05,\
  00,56,00,29,00
"WidgetLayout"=hex(7):43,00,4f,00,44,00,45,00,56,00,49,00,45,00,57,00,20,00,44,\
  00,20,00,56,00,20,00,52,00,20,00,30,00,20,00,38,00,39,00,39,00,20,00,36,00,\
  33,00,34,00,00,00,52,00,45,00,47,00,49,00,53,00,54,00,45,00,52,00,53,00,20,\
  00,44,00,20,00,56,00,20,00,52,00,20,00,30,00,20,00,2d,00,31,00,20,00,2d,00,\
  31,00,00,00,46,00,4c,00,41,00,47,00,53,00,20,00,44,00,20,00,56,00,20,00,52,\
  00,20,00,30,00,20,00,2d,00,31,00,20,00,2d,00,31,00,00,00,53,00,4c,00,4f,00,\
  54,00,53,00,20,00,44,00,20,00,56,00,20,00,52,00,20,00,30,00,20,00,2d,00,31,\
  00,20,00,31,00,33,00,31,00,00,00,53,00,54,00,41,00,43,00,4b,00,20,00,44,00,\
  20,00,56,00,20,00,52,00,20,00,30,00,20,00,2d,00,31,00,20,00,36,00,33,00,34,\
  00,00,00,4d,00,45,00,4d,00,4f,00,52,00,59,00,20,00,44,00,20,00,56,00,20,00,\
  42,00,20,00,38,00,39,00,39,00,20,00,33,00,37,00,31,00,20,00,35,00,30,00,30,\
  00,00,00,00,00