sculpt_manager: bump editor default quota for large fonts and 4k

When trying to open a file in the Files view with font size set to
Large on 4k screens, the editor's / `text_area`'s `view` child fails to
bump its RAM quota when the editor's default quota is too small.

To mitigate the issue, bump the editor's default quota to 80MiB.
The long-term fix would be for the editor to request more RAM from the
runtime to satisfy the `view` RAM request.

Issue #5356
Issue #5383
This commit is contained in:
Benjamin Lamowski 2024-11-15 11:01:19 +01:00 committed by Christian Helmuth
parent f6a1956a30
commit b05b7f17f3

View File

@ -1488,7 +1488,7 @@ struct Sculpt::Main : Input_event_handler,
Start_name const start_name("editor"); Start_name const start_name("editor");
_file_browser_state.text_area.construct(_child_states, start_name, _file_browser_state.text_area.construct(_child_states, start_name,
Priority::LEITZENTRALE, Priority::LEITZENTRALE,
Ram_quota{32*1024*1024}, Cap_quota{350}); Ram_quota{80*1024*1024}, Cap_quota{350});
} }
} }