"splitPane" non-default "size" setting overwritten by SUI #15716

Closed
opened 2026-01-31 04:46:27 +00:00 by claunia · 2 comments
Owner

Originally created by @elsaco on GitHub (Oct 28, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal Preview ver. 1.12.2931.0

Other Software

Windows 10 ver. 10.0.19043.0

Steps to reproduce

  1. change splitPane size, from default 0.5, in settings.json (didn't find a SUI option)
  2. close editor
  3. click Save in SUI

30/70 split used for testing:

          {
          "command": 
            {
                "action": "splitPane",
                "size": 0.7,
                "split": "auto",
                "splitMode": "duplicate"
            },
            "keys": "alt+shift+d"
        },

Expected Behavior

  1. user setting not being overwritten by SUI

Actual Behavior

  1. "size": 0.7 changes to:
        {
            "command": 
            {
                "action": "splitPane",
                "size": 0.69999999999999996,
                "split": "auto",
                "splitMode": "duplicate"
            },
            "keys": "alt+shift+d"
        },

Adding "multipleOf": 0.01 for two decimals only did not make any difference, it was removed by SUI.

The command palette does show the correct setting:
wt_70pane

Originally created by @elsaco on GitHub (Oct 28, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal Preview ver. 1.12.2931.0 ### Other Software Windows 10 ver. 10.0.19043.0 ### Steps to reproduce 1. change splitPane size, from default 0.5, in settings.json (didn't find a SUI option) 2. close editor 3. click `Save` in SUI 30/70 split used for testing: ``` { "command": { "action": "splitPane", "size": 0.7, "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }, ``` ### Expected Behavior 1. user setting not being overwritten by SUI ### Actual Behavior 1. `"size": 0.7` changes to: ``` { "command": { "action": "splitPane", "size": 0.69999999999999996, "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }, ``` Adding `"multipleOf": 0.01` for two decimals only did not make any difference, it was removed by SUI. The command palette does show the correct setting: ![wt_70pane](https://user-images.githubusercontent.com/3933920/139169422-e8e71fba-f22f-4204-b8da-a4316b9b8866.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:46:27 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Oct 28, 2021):

/dup #11080

@zadjii-msft commented on GitHub (Oct 28, 2021): /dup #11080
Author
Owner

@ghost commented on GitHub (Oct 28, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Oct 28, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15716