git-plus icon indicating copy to clipboard operation
git-plus copied to clipboard

Git diff multiple panels

Open hamzit opened this issue 6 years ago • 8 comments

i have multiple projects on the editor that are managed by (https://github.com/danielbrodin/atom-project-manager,)

after switching from one project to another (using atom-project-manager) and toggling the git diff panel, multiple panels are showed, the more switching between project occurs, the more windows that are open

Steps to reproduce:

  1. -- toggle projects using (using atom-project-manager)
  2. -- toggle git diff panel

[ issue ]

hamzit avatar May 15 '19 09:05 hamzit

Yea something about switching projects really screws up git-plus. I'll try to resolve this within the next couple of days.

Edit: my keyboard was acting up and causing atom to go haywire so I actually haven't reproduced this but I'm still trying to sort it out

akonwi avatar May 29 '19 13:05 akonwi

Could you provide more detailed steps and maybe a gif or video of this happening? I'm really puzzled by this and can't reproduce it yet. Opening the dev tools might also reveal some helpful errors

akonwi avatar May 30 '19 00:05 akonwi

here is the video atom_bug.zip

hamzit avatar May 31 '19 14:05 hamzit

I believe I'm seeing similar behavior sporadically. Unfortunately I don't have repro steps. Here's what I have observed for 2 commands when it does happen:

  • Running the command git-diff:toggle-diff-list causes 2 git diff buffers to open and 2 empty panels to open. See screenshot below
  • Alternatively running the command git-plus:commit-all causes multiple empty panels to open and 1 commit buffer to open.
  • For either case, when I've logged commands that are being run with atom.commands.onDidDispatch, I see a number of blur commands being fired after the git-plus command

More about my environment:

Screen Shot 2019-08-02 at 10 42 10 AM

Hope this helps. Thanks for the great library!

cldwalker avatar Aug 02 '19 14:08 cldwalker

I have the same issue when i toggle git diff panel.

Schermata del 2019-10-04 15-46-46

sydro avatar Oct 04 '19 13:10 sydro

I have a similar problem when attempting to commit. It opens so many panels that all I see is little grey lines all the way down my screen.

karrots avatar Oct 19 '19 20:10 karrots

@karrots have you found any solution? I am having the same issue as yours

perrosnk avatar Jun 10 '20 22:06 perrosnk

nope

karrots avatar Jun 10 '20 22:06 karrots