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

[Bug] Scrolls more than necessary #67

Open
rrastgoufard opened this issue Oct 27, 2024 · 2 comments
Open

[Bug] Scrolls more than necessary #67

rrastgoufard opened this issue Oct 27, 2024 · 2 comments

Comments

@rrastgoufard
Copy link

Love the ability to center the first and last columns! Now I'm having a minor issue when using "only scroll as necessary". If I center the first/last column and there is another window that is fully visible on the screen, changing focus to it results in a shifting of the grid even though that window was already on the screen completely.

Screenshot_20241027_125819

Attached is a screenshot, and below is a verbal description that sparked this issue for me. (Thanks again for adding the ability to center the first/last columns!)

In the image, focusing the dolphin window does but should not cause the grid to move as no scrolling is necessary.


Thank you, yes, but it scrolls more than necessary for me.

E.g. say I have three windows A, B, C that take up respectively 30%, 20%, 30% of my ultrawide monitor.

  • I work in C, and want that centered.
  • When C is centered, A is moved beyond the left edge of the screen: that's OK, I only need it later.
  • I have information in B that I copy into C. A I only need later. .

I can move focus to C and center it. That's nice. However, when I move focus to B, B is centered, which I don't want. When I move back to C, I have to re-center it.

Originally posted by @humanplayer2 in #66 (comment)

@peterfajdiga
Copy link
Owner

peterfajdiga commented Oct 27, 2024

Thanks for the report! Unfortunately, this is not easy to fix without breaking the automatic centering of small grids (grids that are not wide enough to fill up the screen). Requires some thought.

@humanplayer2
Copy link

I love the ability to center arbitrarily, too! Thanks again!

I also see some spontaneous scrolling now. If I shift focus between two narrow windows, with a third on the side that extends beyond the screen, scrolling happens so all three are on screen. Despite the third window not being focused on.

Perhaps the scrolling as necessary rule could be changed so scrolling only happens if the window with focus extends beyond the screen?

Personally, I wouldn't mind that small grids are not auto-centered in Only scroll as necessary mode. On the contrary: if I now shift between two equally narrow windows, their border is centered. I never need that. If I work mainly in one of them, I'll want that centered even when I shortly switch focus to the other one to ... copy a password or whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants