Julian Eisel
f0db870822
UI: Support persistent view state, write tree-view height to files
...
Adds support for saving some view state persistently and uses this to keep the
height of a tree-view, even as the region containing it is hidden, or the file
re-loaded.
Fixes #129058 .
Basically the design is to have state stored in the region, so it can be saved
to files. Views types (tree-view, grid-view, etc) can decide themselves if they
have state to be preserved, and what state that is. If a view wants to preserve
state, it's stored in a list inside the region, identified by the view's idname.
Limitation is that multiple instances of the same view would share these bits of
state, in practice I don't think that's ever an issue.
More state can be added to be preserved as needed. Since different kinds of
views may require different state, I was thinking we could add ID properties to
`uiViewState` even, making it much more dynamic.
Pull Request: https://projects.blender.org/blender/blender/pulls/130292
2024-11-18 18:19:48 +01:00
..
2024-11-06 10:49:58 +11:00
2023-08-16 00:20:26 +10:00
2024-09-17 17:31:09 +02:00
2024-10-14 19:21:36 +02:00
2024-09-16 19:31:35 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2024-01-26 12:40:01 +01:00
2024-03-18 15:04:12 +01:00
2024-07-26 15:03:06 +02:00
2024-01-03 13:38:14 +01:00
2024-09-23 13:05:26 +02:00
2024-09-03 15:20:34 +02:00
2024-10-11 22:08:14 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-07-29 15:03:57 +02:00
2024-07-29 15:03:57 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2024-08-07 12:12:17 +02:00
2024-06-27 23:27:58 +02:00
2024-09-20 08:07:15 +02:00
2024-03-18 15:04:12 +01:00
2024-04-15 10:42:54 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2024-09-27 23:47:13 +10:00
2024-09-03 15:38:51 +02:00
2023-05-31 16:19:06 +02:00
2024-01-03 13:38:14 +01:00
2023-07-31 13:02:30 +10:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2024-04-22 12:26:12 +02:00
2024-08-30 17:48:52 +02:00
2023-09-04 15:59:40 +02:00
2024-09-15 23:14:07 +10:00
2024-11-14 16:59:55 +01:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-04-03 15:34:40 +02:00
2024-11-14 22:07:19 +01:00
2024-06-18 12:09:40 +10:00
2024-11-12 19:13:24 +01:00
2024-03-18 15:04:12 +01:00
2024-11-12 16:53:54 +01:00
2023-10-30 21:40:35 +01:00
2024-01-18 13:17:24 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-06-11 14:16:43 +02:00
2024-11-05 23:00:29 +11:00
2024-11-05 23:00:29 +11:00
2024-05-31 22:55:05 +02:00
2024-07-25 10:17:42 +10:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-07-31 16:06:43 +02:00
2024-10-04 11:46:36 +10:00
2024-08-27 13:25:14 +02:00
2024-04-30 20:32:46 +02:00
2024-03-18 15:04:12 +01:00
2024-09-27 23:47:13 +10:00
2024-07-04 12:29:59 +10:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-09-20 16:18:12 +02:00
2024-10-16 15:15:11 +02:00
2024-05-06 17:56:56 +02:00
2024-01-23 20:26:55 +11:00
2023-09-04 15:59:40 +02:00
2024-09-11 16:25:25 +10:00
2024-10-28 12:49:20 +03:00
2024-03-18 15:04:12 +01:00
2024-10-04 19:20:00 +02:00
2024-07-31 18:48:40 +02:00
2024-03-27 18:06:31 +01:00
2024-09-11 16:25:25 +10:00
2024-08-12 15:59:09 +02:00
2024-06-20 14:09:29 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2024-09-27 23:47:13 +10:00
2024-03-29 13:29:30 +11:00
2024-11-06 10:49:58 +11:00
2024-05-14 12:24:21 -04:00
2024-11-06 05:43:34 +01:00
2024-11-18 18:19:48 +01:00
2024-08-10 11:32:37 +10:00
2024-11-17 12:07:16 +01:00
2024-01-22 13:47:13 +01:00
2023-09-04 15:59:40 +02:00
2023-09-25 17:06:04 +10:00
2024-03-18 15:04:12 +01:00
2024-07-29 20:42:08 +02:00
2024-03-18 15:04:12 +01:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2023-12-17 16:04:42 +11:00
2023-09-04 15:59:40 +02:00
2024-05-14 20:59:03 +10:00
2023-09-04 15:59:40 +02:00
2024-10-15 16:29:53 +02:00
2023-09-04 15:59:40 +02:00
2023-08-16 00:20:26 +10:00
2024-06-19 12:16:24 +02:00
2023-09-04 15:59:40 +02:00
2024-01-10 10:04:13 +11:00
2024-09-27 16:58:38 +02:00
2024-07-09 06:10:17 +02:00
2024-09-27 16:58:38 +02:00
2024-09-24 11:52:02 +02:00
2024-03-18 15:04:12 +01:00
2024-01-06 13:26:59 +01:00
2024-10-24 12:50:31 +11:00
2024-09-20 18:09:31 +02:00
2024-05-24 18:41:18 +02:00
2024-07-05 18:05:27 +02:00
2023-12-15 22:57:34 +11:00