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

Regression: lag when switching tabs since verison 2099 #1983

Open
eugenesvk opened this issue Nov 19, 2024 · 2 comments
Open

Regression: lag when switching tabs since verison 2099 #1983

eugenesvk opened this issue Nov 19, 2024 · 2 comments
Assignees

Comments

@eugenesvk
Copy link

Version info

  • OS: macOS 13.4
  • Build: 2099

Description

Switching between tabs (location/commit/files) lags when done via a keyboard shortcut since 2099 - it adds a blue highlight border, which I think is related since when you switch with a mouse there is no such border and no lag (and there was no such border before 2099 when using keyboard shortctus). So whatever is represented by this blue border is blocking/expensive

Steps to reproduce

Steps to reproduce the behavior:

  1. Open repository
  2. Press a shortcut to activate the Commits tab
  3. Press a shortcut to activate the Files tab
  4. repeat steps 2-3 in quick succession
  5. Observe the blue border lag

Expected behavior

No lag in switching, just like before

Debug Information

Debugging info with no gitconfigs, default SM configs and 1 repo

=== App Version Information ===
Build: 2102

=== Git Version Information ===
Using Git: git (system)
git version 2.47.0
environment variables loaded using: /usr/local/bin/fish -l

=== Browse Page Information ===
HEAD: c3f5f06
Is in merge: 0
Is in cherry_pick: 0
Is in rebase: 0
Is in revert: 0

=== Git Status Information ===

=== Our Status Information ===

=== Git Config Information ===
branch.master.merge=refs/heads/master
branch.master.remote=h
core.bare=false
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.precomposeunicode=true
core.repositoryformatversion=0
credential.helper=osxkeychain
remote.h.fetch=+refs/heads/:refs/remotes/h/
remote.h.url=https://github.com/sublimehq/sublime_merge

=== Our Config Information ===
Git Config Path Information
I've deleted all config files for a "clean" experience

Our config output is different to the Git config output
branch.master.merge=refs/heads/master
branch.master.remote=h
core.bare=false
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.precomposeunicode=true
core.repositoryformatversion=0
remote.h.fetch=+refs/heads/:refs/remotes/h/
remote.h.url=https://github.com/sublimehq/sublime_merge

=== Git Attributes Information ===
git check_attr --all output

=== Our Modified Files Newline Normalisation and EOL Information ===

=== Our Modified Files Flag Information ===
Ignoring symlinks: 0

=== Staged Files Information ===

=== Repository Statistics ===
Commit Count: 3
Untracked Files Count: 0
Modified Files Count: 0
Staged Files Count: 0
Submodule Count: 0
Loose Objects Count: 0
Packfile Count: 1

Screenshots

sm 2099 lag - I'm quickly pressing shortcuts to switch to tab 1 and tab2

sm.2099.lag.mov

sm 2095 instant - same shortcuts, same pace, no delay

sm.2095.instant.mov
@dpjohnst
Copy link
Member

dpjohnst commented Dec 3, 2024

G'day @eugenesvk,

Thanks for reaching out and sorry to hear you're experiencing this performance issue.

Can you confirm if you have hardware acceleration enabled? This can be found in the Sublime Merge preferences page (accessible via the application menu under Settings... > Preferences... > Advanced > Hardware Acceleration).

Kind regards,
- Dylan from Sublime HQ

@dpjohnst dpjohnst self-assigned this Dec 3, 2024
@eugenesvk
Copy link
Author

Yes, Enable - OpenGL

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

2 participants