Skip to content

Commit

Permalink
sculpt_manager: bump editor default quota for large fonts and 4k
Browse files Browse the repository at this point in the history
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
  • Loading branch information
atopia authored and chelmuth committed Nov 20, 2024
1 parent f6a1956 commit b05b7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/gems/src/app/sculpt_manager/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ struct Sculpt::Main : Input_event_handler,
Start_name const start_name("editor");
_file_browser_state.text_area.construct(_child_states, start_name,
Priority::LEITZENTRALE,
Ram_quota{32*1024*1024}, Cap_quota{350});
Ram_quota{80*1024*1024}, Cap_quota{350});
}
}

Expand Down

0 comments on commit b05b7f1

Please sign in to comment.