microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.06k stars 28.8k forks source link

Sticky scroll makes it hard to copy a big chunk of code #207467

Open elieobeid7 opened 6 months ago

elieobeid7 commented 6 months ago

Assume you have sticky scroll on and you want to copy a big chunk of code, you scroll up while selecting the text, and once you're almost at the top of the method, the mouse gets stuck.

I'm on the latest version of VSCode and the latest version of windows 11. I disabled sticky scroll until this is fixed.

aiday-mar commented 6 months ago

Hi can you please include a screen recording of the issue, so I can better understand the issue.

VSCodeTriageBot commented 6 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

elieobeid7 commented 6 months ago

@aiday-mar it would be nice if that stupid bot can wait more than a week to close an issue. And I can't even open it again. What a brilliant idea.

You're getting paid to fix bugs, I'm reporting bugs as an act of charity on my free time, sometimes I have more important stuff to take care of, my aunt died last week and my mother is getting surgery on Friday, I have a full time job and doing freelance after work. I have far more important things than helping open-source software.

To reproduce this bug

Open this file in vscode

https://github.dev/microsoft/PubSec-Info-Assistant/blob/main/app/backend/app.py

Then follow this

https://www.loom.com/share/0834d05c2e0c4002a6afa23750efeeab?sid=56529592-d516-4df6-890e-af65c509fac6

The issue happens when You select the text and scroll up, I use the mouse I'm on windows

elieobeid7 commented 6 months ago

I opened this bug instead since the stupid bot isn't letting me reopen this ticket https://github.com/microsoft/vscode/issues/208188

elieobeid7 commented 6 months ago

Personally I disabled sticky scroll, I mean, if your code is huge where you need a sticky header to show you the method name of the method you're in then your code is rubbish anyway.

gjsjohnmurray commented 6 months ago

@elieobeid7 team members such as @aiday-mar are able (and usually willing) to reopen an issue if requested, so IMO the only time it's necessary to create a duplicate instead is if the original issue has been closed for so long that the bot locks it, meaning we ordinarily users can no longer add comments.

aiday-mar commented 6 months ago

Hi @elieobeid7 please keep calm in this thread. If you feel you have more important things to do, then you are not obliged to help or comment here.

elieobeid7 commented 6 months ago

@aiday-mar I am calm and respectful, to you and every real person. I'm pissed off by this stupid bot and don't have to respect bots. There will be a time when you insult an AI chatbot, your social score will be affected.

Please don't take offense to words spoken against bots, bots are stupid and will always be. You're an awesome young software engineer.

Now, regarding this bug specifically, I don't care if it's fixed or not really. I disabled the feature altogether. I searched the entire VSCode settings, for the word "sticky" and toggled any setting with that word off. If you don't feel like fixing it, please close this.

I've been programming for 20 years without it, ain't going need it now. I'm a proponent for 1 class per file and 100 lines per function maximum, if you have more lines than that, something has gone horribly wrong.