-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Pressing PageUp in search panel causes layout to shift #182308
Comments
Hello, I am a Computer Science student working on an open source project and I would like to contribute to this issue. Would it be possible for it to be attributed to me? |
You can just start working on it :) I'm not too sure why this happens, so you can always try and investigate that first- from there, we can talk about a good fix! |
…s layout to shift
…auses the layout to change. Bug (previous behavior): 1.Press Ctrl+Shift+F to open the search panel. 2.Enter any text into the search input. 3.Press PageUp/PageDown. 4.The layout shifts to the right, hiding the line that indicates the current tab in the activity bar. Solution: When search results are displayed, pressing PageUp or PageDown now moves the cursor to the start or end of the search input, respectively. This is achieved by assigning specific functionality to these keys, overriding their default behavior of moving through the page. Testing: A smoke test was implemented to assess the fix. The test involves entering text into the search editor, pressing the PageUp and PageDown keys, and checking for any changes in the activity bar's layout.
…auses the layout to change. Bug (previous behavior): 1.Press Ctrl+Shift+F to open the search panel. 2.Enter any text into the search input. 3.Press PageUp/PageDown. 4.The layout shifts to the right, hiding the line that indicates the current tab in the activity bar. Solution: When search results are displayed, pressing PageUp or PageDown now moves the cursor to the start or end of the search input, respectively. This is achieved by assigning specific functionality to these keys, overriding their default behavior of moving through the page. Testing: A smoke test was implemented to assess the fix. The test involves entering text into the search editor, pressing the PageUp and PageDown keys, and checking for any changes in the activity bar's layout.
Hello, I have created a solution that I believe fixes this bug! Is it okay to create a pull request? |
Type: Bug
After that the layout shifts and hides the line indicating the current tab, which is annoying. You need to resize the window for layout to shift back, which fixes the problem.
Code_mIHgf0Rm7F.mp4
VS Code version: Code 1.78.2 (b3e4e68, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (1)
A/B Experiments
The text was updated successfully, but these errors were encountered: