ThioJoe / Edit-Clipboard-Contents

Allows viewing, editing, and even deleting individual items within the Windows clipboard
GNU General Public License v3.0
139 stars 2 forks source link

Scrolling through the format list does all kinds of glitchy things #7

Open CherryDT opened 3 weeks ago

CherryDT commented 3 weeks ago

Hard to describe. See for yourself. This is what happens when I try to scroll up and down in the list with the mouse wheel (actually trackpoint).

2024-10-30_21-23-28

ThioJoe commented 3 weeks ago

Hm if you mean with the trackpad it's probably because the little function for changing the selection based on mouse wheel scrolling is kind of a workaround and doesn't work well with trackpad scrolling. You'll just have to click on the items

CherryDT commented 3 weeks ago

Ah, I didn't realize it is supposed to select anything! I was expecting to actually scroll... it's a bit unexpected.

I guess the issue why it behaves weirdly is just because you probably react on scroll events without checking by how much the user scrolled. (And the trackpoint will scroll many times by very tiny increments because it allows for much more granular control than a regular scroll wheel.)

ThioJoe commented 3 weeks ago

Ah I understand what you mean. Basically the mouse wheel event is meant to move the selection up and down by one like this below. I suppose at some point I could look into adding some kind of setting at least, and maybe a config file or something to change whether it scrolls the actual scrollbar vs each item.

https://github.com/user-attachments/assets/fd908e37-f5ab-402f-b826-670ceb822c3b

CherryDT commented 2 weeks ago

OK, cool!

(Btw, really nice tool. I was using InsideClipboard until now and was missing an easy way to edit data. This does that and much more, I love it!)