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

No "Exit diff mode" after using Diff -> Expression #31

Closed
ijuma opened this issue Nov 4, 2009 · 7 comments
Closed

No "Exit diff mode" after using Diff -> Expression #31

ijuma opened this issue Nov 4, 2009 · 7 comments
Labels

Comments

@ijuma
Copy link

ijuma commented Nov 4, 2009

Hi,

Since this is my first issue, I'll start by saying that I really like git-cola. :)

Steps to reproduce the problem:

  1. Select Diff -> Expression
  2. Type origin/master or something appropriate for the repository
  3. Look for "Exit Diff Mode" to dismiss diff mode

Expected: See "Exit Diff Mode" below "Stash" (like what happens if I use Diff -> SHA-1)

Actual: "Exit Diff Mode" is not there for some reason.

Workaround: Use Diff-SHA-1 to make it appear.

@davvid
Copy link
Member

davvid commented Nov 6, 2009

views.main: Show 'Exit Diff Mode' when using Diff->Expression

We weren't showing the 'Exit Diff Mode' button when going into
the 'Diff->Expression' mode.

Closed by ee17ea1

Signed-off-by: David Aguilar davvid@gmail.com

@davvid
Copy link
Member

davvid commented Nov 6, 2009

This is in the v1.4.0.2 release. The distros should start picking up that release pretty soon hopefully. =)

@ijuma
Copy link
Author

ijuma commented Nov 6, 2009

Thanks. :) I'll build my own package meanwhile.

@ijuma
Copy link
Author

ijuma commented Nov 6, 2009

Hmm, when I click on "Exit Diff Mode", it exits git-cola instead of exiting diff mode. This still works correctly if I use Diff -> SHA-1 instead.

@ijuma
Copy link
Author

ijuma commented Nov 6, 2009

Ok, it seems like git-cola crashes in some cases and that's why it exits. It works fine when it doesn't crash. I saw the following when doing Diff -> Expression (easy to reproduce in that repository until I made some changes and not easy to reproduce anymore):

http://pastebin.com/m5c32426

Any suggestions on what information to collect before filing an issue?

@davvid
Copy link
Member

davvid commented Nov 10, 2009

Hmm your PyQt4 version would be helpful.
I've tested it on both Linux and Mac OSX with PyQt4 4.5.x and it works fine here. The stacktrace is weird; Python is not supposed to stacktrace.

Do you happen to be on PyQt4 4.6.0?

@ijuma
Copy link
Author

ijuma commented Nov 10, 2009

I'm using PyQt4 4.5.4 from Fedora. The repository state seems to be important to be able to reproduce. If it happens again with a repository that I can share, I'll file a bug with steps to reproduce.

davvid pushed a commit to davvid/git-cola that referenced this issue Jun 30, 2016
Add compatibility for QItemSelectionModel
davvid pushed a commit to davvid/git-cola that referenced this issue Jun 30, 2016
- It belongs to QtCore in PyQt5
- This finishes PR git-cola#31
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants