sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Regression: lag when switching tabs since verison 2099

Open eugenesvk opened this issue 1 year ago • 4 comments

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: c3f5f06c5fec43647c472c74c6eea4c4d3668875 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

https://github.com/user-attachments/assets/4a4b197d-a010-469d-b158-f8daec13bcd0

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

https://github.com/user-attachments/assets/79770a30-3c75-4b5e-a36d-4e6c8cb527e2

eugenesvk avatar Nov 19 '24 10:11 eugenesvk

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 avatar Dec 03 '24 01:12 dpjohnst

Yes, Enable - OpenGL

eugenesvk avatar Dec 03 '24 05:12 eugenesvk

Hi @eugenesvk,

Can you confirm if this is still affecting you on the latest version of Sublime Merge?

Kind regards, - Dylan

dpjohnst avatar Feb 19 '25 00:02 dpjohnst

yes

eugenesvk avatar Feb 19 '25 07:02 eugenesvk

Hi @eugenesvk,

Apologies for the delay getting this fixed - I've been unable to reproduce the issue so far on my end. A couple of clarifying questions:

  • Could you confirm if disabling hardware acceleration and restarting Sublime Merge resolves the issue
  • Could you confirm which model Mac you have

Kind regards, - Dylan

dpjohnst avatar Feb 23 '25 23:02 dpjohnst

Disabling HW accel seems to fix this, so maybe will use that MBP pro late 2012

eugenesvk avatar Mar 01 '25 13:03 eugenesvk