sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Long repo names cause tab order to change #1861

Open dpslwk opened 5 months ago

dpslwk commented 5 months ago

Version info

Description

Sublime Merge is is full screen I have multiple repos open, when some have long names, When clicking on to change to repo with long name at the top tab bar it jumps to the left

Steps to reproduce

Steps to reproduce the behavior:

  1. setup 3 repos with names like short, another-short and witchful-thinking-tempus-throne-wand-stand

  2. Open all repos at the same time, with the long names one last

  3. Click to a short named repo

  4. Click to the long named repo

Expected behavior

Tab order should not change

Debug Information

Debug Info ``` === App Version Information === Build: 2091 === Git Version Information === Using Git: git (system) git version 2.39.3 (Apple Git-145) PATH: /opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Applications/ArmGNUToolchain/13.2.Rel1/arm-none-eabi/bin:/Users/matt/.poetry/bin:/Users/matt/.composer/vendor/bin:/Users/matt/bin (from shell) environment variables loaded using: /bin/zsh -l === Browse Page Information === HEAD: c40b02ebcab7ef598b4d4de1808f491c8bf703ab Is in merge: 0 Is in cherry_pick: 0 Is in rebase: 0 Is in revert: 0 === Git Status Information === M CMakeLists.txt Mm lib/pico_ws2812_pio MM lib/tempus_pico_lib M src/CMakeLists.txt M src/throne_wand_stand_main.cpp ?? .vscode/ === Our Status Information === M CMakeLists.txt MM lib/tempus_pico_lib M src/CMakeLists.txt M lib/pico_ws2812_pio M src/throne_wand_stand_main.cpp ?? .vscode/launch.json ?? .vscode/settings.json === Git Config Information === bash.showdirtystate=false branch.main.merge=refs/heads/main branch.main.remote=origin color.branch=auto color.branch.current=yellow reverse color.branch.local=yellow color.branch.remote=green color.diff=auto color.diff.frag=magenta bold color.diff.meta=yellow bold color.diff.new=green bold color.diff.old=red bold color.status=auto color.status.added=yellow color.status.changed=green color.status.untracked=cyan core.autocrlf=input core.bare=false core.excludesfile=/Users/matt/.gitignore_global core.filemode=true core.ignorecase=true core.logallrefupdates=true core.precomposeunicode=true core.repositoryformatversion=0 credential.helper=osxkeychain filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f init.defaultbranch=main remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=git@github.com:cryptologyrooms/witchful-thinking-tempus-throne-wand-stand.git submodule.active=. submodule.lib/pico_ws2812_pio.url=git@github.com:dpslwk/pico_ws2812_pio.git submodule.lib/tempus_pico_lib.url=git@github.com:ertempus/tempus_pico_lib.git user.email=dps.lwk@gmail.com user.name=dpslwk === Our Config Information === Git Config Path Information Using config path: /etc/gitconfig Using config path: /Users/matt/.config/git/config Using config path: /Users/matt/.gitconfig Using config path: /Users/matt/Dropbox/Work/Cryptology/github/witchful-thinking/witchful-thinking-tempus-throne-wand-stand/.git/config Our config output is different to the Git config output bash.showdirtystate=false branch.main.merge=refs/heads/main branch.main.remote=origin color.branch=auto color.branch.current=yellow reverse color.branch.local=yellow color.branch.remote=green color.diff=auto color.diff.frag=magenta bold color.diff.meta=yellow bold color.diff.new=green bold color.diff.old=red bold color.status=auto color.status.added=yellow color.status.changed=green color.status.untracked=cyan core.autocrlf=input core.bare=false core.excludesfile=/Users/matt/.gitignore_global core.filemode=true core.ignorecase=true core.logallrefupdates=true core.precomposeunicode=true core.repositoryformatversion=0 filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f init.defaultbranch=main remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=git@github.com:cryptologyrooms/witchful-thinking-tempus-throne-wand-stand.git submodule.active=. submodule.lib/pico_ws2812_pio.url=git@github.com:dpslwk/pico_ws2812_pio.git submodule.lib/tempus_pico_lib.url=git@github.com:ertempus/tempus_pico_lib.git user.email=dps.lwk@gmail.com user.name=dpslwk === Git Attributes Information === git check_attr --all output .vscode/launch.json .vscode/settings.json CMakeLists.txt === Our Modified Files Newline Normalisation and EOL Information === CMakeLists.txt: input - native lib/tempus_pico_lib: input - native src/CMakeLists.txt: input - native === Our Modified Files Flag Information === Ignoring symlinks: 0 CMakeLists.txt: Working - Normal File : Index - Normal File lib/tempus_pico_lib: Working - Gitlink : Index - Gitlink src/CMakeLists.txt: Working - Normal File : Index - Normal File ```

Screenshots

https://github.com/sublimehq/sublime_merge/assets/234460/d0efd0b3-e544-4430-9131-236cfae0c344

dpjohnst commented 5 months ago

Hi @dpslwk,

Thanks for reporting this issue - we've identified the cause of this issue and will have a fix available in the next build.

Kind regards, - Dylan from Sublime HQ