Skip to content

Github plugin mangles unstaged changes/diff buffer #40

@mraleson

Description

@mraleson

Thanks in advance for your bug report!

  • Have you reproduced issue in safe mode?
  • Have you used the debugging guide to try to resolve the issue?
  • Have you checked our FAQs to make sure your question isn't answered there?
  • Have you checked to make sure your issue does not already exist?
  • Have you checked you are on the latest release of Pulsar?

What happened?

The git diff is mangled when toggling between buffers and clicking on the unstaged changes for a file on the right side git bar.

Pulsar version

1.112.1

Which OS does this happen on?

🐧 Debian based (Linux Mint, Ubuntu, etc.)

OS details

Ubuntu 22.04

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

  1. Create a new git repo with a single file
  2. Make a commit so you can see git diff changes
  3. Modify the file with about 10 new lines
  4. Open unstaged changes diff for file Pulsar github plugin toolbar on the right
  5. Toggle between buffers (open file and gif diff)
  6. Open unstaged changes diff for file Pulsar github plugin toolbar on the right (again)
  7. Toggle between buffers (open file and gif diff)
  8. git diff should be mangled

Additional Information:

pulsar_bug_correct
pulsar_bug

You may have to click back and forth a few times, it essentially looks like line numbers and changes are not shifted down correctly. I feel like it is easier to reproduce when the diff is larger (it happens every time). This does not happen on Atom, so it may be a regression from recent changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions