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

Copy-paste shortcuts broken #767

Closed
plsamuel opened this issue Mar 1, 2018 · 7 comments
Closed

Copy-paste shortcuts broken #767

plsamuel opened this issue Mar 1, 2018 · 7 comments

Comments

@plsamuel
Copy link

plsamuel commented Mar 1, 2018

The Cmd+C shortcut is currently broken in the Diff window, have to do right-click + Copy menu.

Using version 3.0

davvid added a commit to davvid/git-cola that referenced this issue Mar 4, 2018
Add FocusProxy.override() so that we can override the active widgets on
a per-method basis.

Related-to: git-cola#767
Signed-off-by: David Aguilar <davvid@gmail.com>
@davvid davvid closed this as completed in 3f25d4a Mar 4, 2018
@jedie
Copy link

jedie commented Aug 24, 2018

Confirm with v3.0 unter linux, too :(

@davvid
Copy link
Member

davvid commented Aug 25, 2018

v3.2 is the latest stable. Are you seeing this in Linux there too? What window manager?

@jedie
Copy link

jedie commented Aug 25, 2018

In ubuntu 18.04 is currently only v3.0 :(

@davvid
Copy link
Member

davvid commented Aug 26, 2018

It's really easy to try the latest version:

git clone git://github.com/git-cola/git-cola.git
./git-cola/bin/git-cola

That should work just fine if you have the ubuntu version installed since you already have all of the python dependencies.

@jedie
Copy link

jedie commented Aug 27, 2018

It's not so easy:

    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

I don't quite understand. I have git-cola from the dirtribution installed... So I assume that every dependencies are installed.

EDIT: I filed a bug report here: https://bugs.launchpad.net/ubuntu/+source/git-cola/+bug/1789176

@davvid think it's a good idea to remove "MacOS" in issues title, because it's IMHO not "MacOS" specific, isn't it?

@davvid
Copy link
Member

davvid commented Aug 28, 2018

Hmm, I don't have 18.04 installed. Maybe it's a python2 vs 3 thing? In the bin/git-cola launcher script, change the #! line to say #!/usr/bin/env python3 and see if that makes a difference?

You'll can sudo apt install python3-PyQt5 or sudo apt install python-PyQt5 to verify that they're installed.

I still develop using the python2 version of pyqt5, so if you're able to install the non-python3 version then you won't need to edit the #! line in the script. Let me know if either of these sugs work (editing the shebang line, or installing python versions of PyQt5.

If you sudo apt install apt-show-versions you can apt-show-versions | grep -i pyqt and that might help shed some light on the situation. What does ls -l /usr/bin/python look like on 18.04? Is it still python2? python --version can answer that question.

Yep, seems like an ubuntu packaging bug if you need to install additional stuff. Maybe they'll update to v3.2 too ;-)

@davvid davvid changed the title Copy-paste shortcuts broken in MacOS Copy-paste shortcuts broken Aug 28, 2018
@jedie
Copy link

jedie commented Aug 28, 2018

Yes that's it!

shebang in "git-cola/bin/git-cola" is #!/usr/bin/env python

default python in ubuntu 18.04 is still 2.7 :(

So i can make just this: python3 git-cola/bin/git-cola and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants