Fix: reserve dropdown popup scrollbar width to avoid suffix text cropping on GTK/Linux#1
Open
aniketsahu07 wants to merge 5 commits into
Open
Fix: reserve dropdown popup scrollbar width to avoid suffix text cropping on GTK/Linux#1aniketsahu07 wants to merge 5 commits into
aniketsahu07 wants to merge 5 commits into
Conversation
…ping on GTK/Linux
…n constrained/scrollable
Owner
Author
|
Thanks — good catch. I removed the scrollbar-width reservation from the initial sizing in open() and now only reserve the scrollbar width inside constrainHeightIfNeeded() when the popup becomes scrollable. This avoids double-reserving the width and prevents the dropdown from becoming wider than necessary. PTAL. |
…d double-counting in constrainHeightIfNeeded()
* feat - LSP data layer + confirmationService skeleton (Auto-approve Part 1 ) (microsoft#132) * feat: Terminal auto-approve with confirmation dialog enhancement (Auto-approve Part 2) (microsoft#171) * revert splitDropdownButton padding change (microsoft#184) * feat: File operation auto-approve with glob pattern rules (Auto-approve Part 3) (microsoft#216) * add file operation approve logic * resolve comments * change default rules color * resolve comments * update test cases * feat: MCP tool auto-approve and global auto-approve (Auto-approve Part 4) (microsoft#218) * add mcp approve support and global approve support * resolve comments * fix test cases * resolve comments and add token/policy check * fix compile error * Fix auto-approve preference page layout instability * fix copilot comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: reserve dropdown popup scrollbar width to avoid suffix text cropping on GTK/Linux
Motivation
What I changed
com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/swt/DropdownPopup.java:contentSize.xbefore setting the container size and min size.How to test
Notes
good first issue,ui,bug.Closes microsoft#113