[Feature] Save Default Layout in the Layout menu, as in Genie 4
Maintainers usually reply within 5 days
Assessment
This issue has not been assessed yet.
Description
The use case
When I have the windows the way I want them, I want that arrangement to be what the character starts with. Today that takes three steps: Layout ▸ Save Layout As…, then Layout ▸ Manage Layouts…, select the layout, Set as Default.
Save Layout As…
Load Layout ▸
Manage Layouts…
Reset to Default Layout
Save Layout As on its own leaves the startup layout as it was, which is easy to miss: the layout is saved, and the next connect still brings up the old one.
Proposed solution
A Save Default Layout entry under Save Layout As, and #layout savedefault. One click saves what is on screen for the connected profile and makes it that profile's startup layout, with no dialog.
Save Layout As…
Save Default Layout
Load Layout ▸
Manage Layouts…
[layout] saved 'hunting' as this profile's default.
The layout on screen keeps its name. With none loaded, the profile's current default is saved over. With neither, it is saved as Default. A built-in layout's name is passed over, so a character's own arrangement is never stored as Strongbox. With no saved profile connected, the layout goes to the global set and becomes the global default, and the message says so.
I have this working locally on top of v5.0.1-beta.5, with tests, and a pull request follows. It sits on the change that makes Save Layout As open with the loaded layout's name, because it uses the same name.
How others handle it
Genie 4's Layout menu had Save Default Layout right under Save Layout As. As far as I can read its source, SaveSettingsToolStripMenuItem_Click in Forms/FormMain.cs writes the layout to the file Genie 4 loads at start.
Policy check
Nothing here happens while the user is away from the keyboard, and nothing is sent to the game. A menu click or a typed command saves a layout file and one field of the profile.
Alternatives considered
- A "make this the default" tick box in the Save Layout As dialog. That keeps one entry, but still opens a dialog for what Genie 4 did in one click.
- Leave it to Manage Layouts. It works, and it is where a default among several saved layouts is chosen; this is for the common case of "what I see now is what I want at start".
- Dominant language
- C#
- Stars
- 2
- Forks
- 5
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenieClient/Genie5
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
GenieClient/Genie5#496 ·
Maintainers usually reply within 5 days
-
enhancement g4-regression
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GenieClient/Genie5#494 ·
Maintainers usually reply within 5 days
-
area:ui-dock enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenieClient/Genie5#462 ·
Maintainers usually reply within 5 days
-
area:mapper bug est:<1d P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
GenieClient/Genie5#449 · 1 comment ·
Maintainers usually reply within 5 days
-
[Bug] Maps ▸ Update from Official Repo / Repair Maps give no notification of success or failurePossibly taken A pull request linked to this issue is open or already merged. Openarea:mapper area:updater bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#423 · 1 assignee ·
Maintainers usually reply within 5 days
All issues in GenieClient/Genie5
Similar issues
-
documentation good first issue kind:task level:starter size:s
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Arggon/ArggonStores#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Tool] MockAPIOpenhas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 72/100
shanselman/TinyToolTown#956 ·
Maintainers usually reply within 2 days
-
bug frontend
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Bug]: Native build script prints a traceback when Git is missing from PATHPossibly taken @Jaisuryan-web claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnifeLemon/Filee#1953 ·
Maintainers usually reply within 1 day