Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.21] Clicking on the right side of a combobox doesn't cause it to open / dropdown #17062

Closed
Zeroes1 opened this issue Apr 15, 2024 · 5 comments · Fixed by #17174
Closed

[1.21] Clicking on the right side of a combobox doesn't cause it to open / dropdown #17062

Zeroes1 opened this issue Apr 15, 2024 · 5 comments · Fixed by #17174
Assignees
Labels
Area-Settings UI Anything specific to the SUI Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Severity-Blocking We won't ship a release like this! No-siree.

Comments

@Zeroes1
Copy link

Zeroes1 commented Apr 15, 2024

Windows Terminal version

1.21.1011.0

Windows build number

10.0.19045.3448

Other Software

No response

Steps to reproduce

look the video
https://github.com/microsoft/terminal/assets/11919060/f5c52bf2-d51c-482c-9dfc-557d919ec554

ps. for future is good idea post issue like BUG for CANARY builds WT?

Expected Behavior

good work wit combobox
latest good canary buid: terminal-1.21.931.0

Actual Behavior

terminal-1.21.991.0
terminal-1.21.1011.0
is bad for work with combobox

@Zeroes1 Zeroes1 added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 15, 2024
@zadjii-msft
Copy link
Member

for future is good idea post issue like BUG for CANARY builds WT

Yes absolutely! If you're using canary and find bugs in it, absolutely file them here 😄


21.931 included the font face combo box, so that wasn't the source of this regression.

@carlos-zamora carlos-zamora added Product-Terminal The new Windows Terminal. Area-Settings UI Anything specific to the SUI and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 17, 2024
@carlos-zamora carlos-zamora added this to the Terminal v1.21 milestone Apr 17, 2024
@DHowett
Copy link
Member

DHowett commented Apr 17, 2024

Here are the commits for that version range:

1.21.991.0 (bad ) -> * b90eb93d2 Localization Updates - main - 04/06/2024 03:04:16 (#17025)
                     * 156b9aeea Make marks a stable feature (#16938)
                     * c3f44f773 Rewrite how marks are stored & add reflow (#16937)
                     * dc4026d18 Add support for restoring non-terminal panes, and opening them with `splitPane`, `newTab` (#16914)
                     * c063d2bad Change default pane keybindings to duplicate, rather than use default profile (#16951)
                     * 6a69b94fc Increase usage of fmt and FMT_COMPILE (#17012)
                     * 8d6e7a8a7 Buffer Restore: Fix serializing >32KiB (#17022)
                     * 1a6ba43dd Get rid of UpdateTerminalSettings (#17009)
                     * 67ae9f6c3 Refactor the SettingsTab to be a pane (#16172)
1.21.931.0 (good) -> * 2bcbe6b49 ci/rel: publish symbols using the internal symbol request API instead (#16991)

@DHowett
Copy link
Member

DHowett commented Apr 17, 2024

@zadjii-msft just a cold read, but due to 67ae9f6 you may be the killer

@zadjii-msft zadjii-msft added the Severity-Blocking We won't ship a release like this! No-siree. label May 1, 2024
@zadjii-msft zadjii-msft self-assigned this May 1, 2024
@zadjii-msft
Copy link
Member

zadjii-msft commented May 1, 2024

You know, this is pretty dang painful. Promoting to blocking to investigate

Notes:

Wait a sec this doesn't repro on the canary build I have open on this machine anymore. What the hay barrels? Did I lose the repro?

okay definitely repros on main. Click on the right side of the combobox, and slowly move to the left. Usually there's a point where it starts working?

67ae9f6 is the first bad commit

@zadjii-msft zadjii-msft changed the title canary regress combobox [1.21] Clicking on the right side of a combobox doesn't cause it to open / dropdown May 1, 2024
@zadjii-msft
Copy link
Member

48ed8be3-eafd-4cf4-9969-cdb317837a95

  • On the non-retemplated ones, it's just the arrow region that doesn't open it.
  • On the retemplated ones, it's anything except the label that doesn't open it

DHowett added a commit that referenced this issue May 2, 2024
…used (#17174)

You'll never believe this. Clicking on the dropdown button on a ComboBox
doesn't set `e.Tapped = true`. It bubbles up, and lands in our `Pane`'s
`Border`'s tapped handler. And in there, we yeet focus to the first
content. We end up stealing focus from the combobox, and then the
combobox doesn't actually open its dropdown.

So yea we can just fix that. Easy enough. 

Closes #17062

---------

Co-authored-by: Dustin L. Howett <[email protected]>
Co-authored-by: Leonard Hecker <[email protected]>
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Tag-Fix Doesn't match tag requirements label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings UI Anything specific to the SUI Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Tag-Fix Doesn't match tag requirements Product-Terminal The new Windows Terminal. Severity-Blocking We won't ship a release like this! No-siree.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants