mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
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:
parent
f6a1956a30
commit
b05b7f17f3
@ -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});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user