vipex
8f9817173d
pane: Update pinned tab count when it exceeds actual tab count ( #33405 )
...
## Summary
This PR improves the workaround introduced in #33335 that handles cases
where the pinned tab count exceeds the actual tab count during workspace
deserialization.
## Problem
The original workaround in #33335 successfully prevented the panic but
had two issues:
1. **Console spam**: The warning message was logged repeatedly because
`self.pinned_tab_count` wasn't updated to match the actual tab count
2. **Auto-pinning behavior**: New tabs up until you exceed the old safe
tab count were automatically pinned after the workaround was triggered.
## Solution
Updates the defensive code to set `self.pinned_tab_count = tab_count`
when the mismatch is detected, ensuring:
- The warning is only logged once when encountered.
- New tabs behave normally (aren't auto-pinned)
- The workspace remains in a consistent state
This is an immediate fix for the workaround. I'll attempt to open up a
follow-up PR when i get the chance that will address the root cause by
implementing serialization for empty untitled tabs, as discussed in
#33342 .
Release Notes:
- N/A
2025-06-25 19:52:15 +00:00
..
2025-06-25 19:57:28 +03:00
2025-06-25 14:10:48 -04:00
2025-06-25 19:05:29 +02:00
2025-06-25 14:10:48 -04:00
2025-06-23 18:48:26 +00:00
2025-06-17 14:39:45 +00:00
2025-05-20 23:06:07 +00:00
2025-06-25 13:26:24 -04:00
2025-05-21 09:27:54 +00:00
2025-06-18 16:01:28 +05:30
2025-06-16 18:45:24 +03:00
2025-06-25 19:05:29 +02:00
2025-05-26 21:20:41 -03:00
2025-06-13 13:11:02 -04:00
2025-05-20 23:06:07 +00:00
2025-06-25 17:28:06 +00:00
2025-06-25 17:15:13 +03:00
2025-05-30 08:32:54 -07:00
2025-06-18 14:43:23 +00:00
2025-05-26 23:04:31 -04:00
2025-06-24 05:14:15 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-05-04 08:28:39 +00:00
2025-06-25 19:57:28 +03:00
2025-06-24 16:11:25 +00:00
2025-06-18 16:01:28 +05:30
2025-06-05 12:59:22 +00:00
2025-06-21 11:19:23 -04:00
2025-06-19 17:37:58 +03:00
2025-06-24 18:24:43 +00:00
2025-06-24 18:24:43 +00:00
2025-06-15 19:51:04 +00:00
2025-06-23 17:06:48 +00:00
2025-06-13 20:56:23 +00:00
2025-06-25 19:54:08 +05:30
2025-06-25 09:42:30 +02:00
2025-06-17 13:46:21 +00:00
2025-06-24 04:34:51 +00:00
2025-06-25 19:57:28 +03:00
2025-06-25 19:05:29 +02:00
2025-06-21 11:19:23 -04:00
2025-06-18 14:05:29 +00:00
2025-06-17 12:09:08 +02:00
2025-06-25 19:57:28 +03:00
2025-06-18 22:52:40 +00:00
2025-06-17 13:56:19 -06:00
2025-06-22 16:23:17 -04:00
2025-06-25 19:17:41 +03:00
2025-06-22 16:23:17 -04:00
2025-06-18 16:01:28 +05:30
2025-06-24 04:34:51 +00:00
2025-06-03 12:23:01 -04:00
2025-06-25 19:57:28 +03:00
2025-06-03 09:41:45 +02:00
2025-06-17 20:26:27 +00:00
2025-06-25 19:46:15 +00:00
2025-06-24 04:34:51 +00:00
2025-05-20 23:06:07 +00:00
2025-06-24 11:02:06 -03:00
2025-06-03 13:18:29 +02:00
2025-06-18 16:01:28 +05:30
2025-06-20 21:28:48 +00:00
2025-05-27 21:52:42 +00:00
2025-06-06 20:54:00 +00:00
2025-05-20 23:06:07 +00:00
2025-05-17 16:42:45 +00:00
2025-06-18 16:01:28 +05:30
2025-04-23 20:54:09 +00:00
2025-06-25 19:57:28 +03:00
2025-06-25 19:57:28 +03:00
2025-06-24 16:23:59 +00:00
2025-06-25 19:05:29 +02:00
2025-06-18 16:01:28 +05:30
2025-06-25 19:57:28 +03:00
2025-06-24 18:24:43 +00:00
2025-05-20 23:06:07 +00:00
2025-06-22 16:23:17 -04:00
2025-06-17 10:43:07 -04:00
2025-06-25 19:57:28 +03:00
2025-06-09 13:11:57 +02:00
2025-06-25 16:43:00 +00:00
2025-05-20 23:06:07 +00:00
2025-04-29 21:58:45 -03:00
2025-06-25 19:05:29 +02:00
2025-06-17 10:43:07 -04:00
2025-06-24 23:18:35 -06:00
2025-06-06 16:00:09 +00:00
2025-06-23 19:55:21 -03:00
2025-06-17 10:43:07 -04:00
2025-06-25 09:42:30 +02:00
2025-06-21 08:03:50 +02:00
2025-05-26 23:04:31 -04:00
2025-06-18 22:36:00 +00:00
2025-06-14 21:39:54 -06:00
2025-06-25 19:57:28 +03:00
2025-06-13 07:26:06 +00:00
2025-06-25 19:57:28 +03:00
2025-06-24 04:34:51 +00:00
2025-06-18 16:01:28 +05:30
2025-06-18 16:01:28 +05:30
2025-06-25 19:57:28 +03:00
2025-06-18 16:01:28 +05:30
2025-05-26 17:43:57 +00:00
2025-05-23 14:53:53 +00:00
2025-06-25 16:49:37 +00:00
2025-06-25 19:57:28 +03:00
2025-06-24 10:15:20 +03:00
2025-05-20 23:06:07 +00:00
2025-06-09 13:11:57 +02:00
2025-06-17 12:09:08 +02:00
2025-06-19 18:23:09 +05:30
2025-06-24 04:34:51 +00:00
2025-06-13 06:32:29 +00:00
2025-05-20 23:06:07 +00:00
2025-04-25 17:41:49 +03:00
2025-06-24 16:07:45 +00:00
2025-06-24 04:34:51 +00:00
2025-05-20 23:06:07 +00:00
2025-05-26 23:04:31 -04:00
2025-06-18 16:01:28 +05:30
2025-05-20 23:06:07 +00:00
2025-05-16 17:35:44 +02:00
2025-06-24 16:07:45 +00:00
2025-05-01 17:37:43 +02:00
2025-06-09 13:11:57 +02:00
2025-06-17 14:39:45 +00:00
2025-06-24 04:34:51 +00:00
2025-06-18 22:47:48 +00:00
2025-06-19 02:27:34 -03:00
2025-04-21 21:30:21 -07:00
2025-06-25 19:51:33 +05:30
2025-06-24 04:34:51 +00:00
2025-06-09 13:11:57 +02:00
2025-06-23 20:53:55 -03:00
2025-05-26 18:23:41 +00:00
2025-06-18 16:01:28 +05:30
2025-05-06 10:18:48 +00:00
2025-06-24 04:34:51 +00:00
2025-06-18 16:01:28 +05:30
2025-06-24 04:34:51 +00:00
2025-06-18 18:47:43 -03:00
2025-05-23 19:31:25 +00:00
2025-05-30 15:26:27 +00:00
2025-06-21 11:19:23 -04:00
2025-06-13 06:32:29 +00:00
2025-06-25 13:26:41 +00:00
2025-06-24 15:20:14 -06:00
2025-06-18 21:26:12 +00:00
2025-06-09 13:11:57 +02:00
2025-04-23 15:30:20 +00:00
2025-05-20 23:06:07 +00:00
2025-06-18 16:01:28 +05:30
2025-06-25 19:52:15 +00:00
2025-06-09 13:11:57 +02:00
2025-06-25 19:05:29 +02:00
2025-06-24 04:34:51 +00:00
2025-06-20 21:28:48 +00:00
2025-06-06 00:49:30 -06:00
2025-04-23 20:54:09 +00:00