Closed spyder-bot closed 9 years ago
From pierre.raybaut on 2010-12-14T09:23:22Z
The original Ctrl+G keyboard shortcut is associated to the 'Go to definition' feature.
From steve.f....@gmail.com on 2010-12-14T09:25:44Z
Yes. I remapped that to a different key sequence.
From steve.f....@gmail.com on 2011-01-06T08:06:49Z
Have you had any chance to look into this? It's causing me a lot of heart ache.
From pierre.raybaut on 2011-01-07T04:43:28Z
I can't reproduce this bug: I'm assigning "Go to definition" to Ctrl+J for instance and then I'm attributing "Go to line" to Ctrl+G and it's working. I'm quitting and restarting Spyder and it's still working.
Could you try and find out a sequence of actions that triggers this bug?
From steve.f....@gmail.com on 2011-01-07T13:10:15Z
I'm not sure if this matters, but I attempted to map "delete line" to Ctrl+Shift+D and the shortcut is not working. The only shortcut I've ever had issues with is the delete line shortcut, so maybe that's half of the problem with being able to replicate the issue?
From steve.f....@gmail.com on 2011-01-07T14:27:04Z
I just realized Shift+Ctrl+D is mapped to "switch to online help". This is probably why mapping that key sequence to "delete line" didn't work. However, the conflict warning code did not catch this issue, and Shift+Ctrl+D failed to open online help.
It's 1 hour and 15 minutes later and I decided to try to use Ctrl+D to duplicate a line. (Spyder has not been restarted in this time) It instead had reverted back to deleting the line. I have now mapped "delete line" to Alt+Ctrl+Shift+D. Both "delete line" and "duplicate line" are working with their respective shortcuts. I will see if they continue to work or "delete line" resets back Ctrl+D.
On Fri, Jan 7, 2011 at 3:10 PM, Steve Thompson steve.f.thompson@gmail.comwrote:
From steve.f....@gmail.com on 2011-01-07T14:30:36Z
I've noticed yet another odd symptom. I will be editing in Spyder and it will lock up and quit responding for 30-60 seconds. After it stops being locked up, the "delete line" shortcut has remapped to Ctrl+D.
On Fri, Jan 7, 2011 at 4:26 PM, Steve Thompson steve.f.thompson@gmail.comwrote:
From pierre.raybaut on 2011-01-09T06:47:51Z
Ok, so let me answer to your comments one at a time:
Comment #5
: actually, it would be really convenient if you could use the Mercurial version, as you would be able to use either the stable released version (like you are doing right now) or the latest development version (which is by the way -and that's why I'm heading this way- is already including a bug fix regarding the keyboard shortcut conflict detection for a few weeks now!). This would considerably reduced iteration between your testing and my recent developments.
Comment #6
: like I mentioned above, in the development version, the conflict is detected and there is no real problem with changing the "Delete line" shortcut.
Comment #7
: wow, that is really an unknown bug and I would be really interested if you were able to reproduce it.
From steve.f....@gmail.com on 2011-01-14T09:42:37Z
I updated to 2.0.6 earlier this week and all these issues seem to have gone away. Hooray!
From steve.f....@gmail.com on 2011-01-14T09:52:19Z
I spoke too soon... don't close this ticket.
From steve.f....@gmail.com on 2011-01-14T10:27:49Z
I discovered a new bug that was triggered while investigating this. I detailed it in Issue #527
.
From pierre.raybaut on 2011-01-15T04:45:42Z
Ok, I'll fixed this asap. But regarding this keyboard shortcut issue I must say that I don't have a clue of how to handle it (and how to reproduce it).
From steve.f....@gmail.com on 2011-01-19T08:47:19Z
This issue is still occurring. I'm not really sure how to go about debugging it either. Can you think of any event that would cause the key bindings to revert to their defaults?
From steve.f....@gmail.com on 2011-01-19T08:54:23Z
I've also noticed that I'm losing some other (perhaps all?) custom keyboard mappings. I was just trying to use Ctrl+G (which I had mapped for "go to line") and it's not working.
From danielst...@googlemail.com on 2011-03-09T02:40:30Z
Hi, I am attaching myself to this bug because it reflects my observations, too.
I am running the latest Spyder 2.0.8 on both Windows XP (32bit, latest PythonXY) and openSUSE 11.3/11.4 (64bit, Python 2.6/2.7).
I have assigned custom keybindings to match those from KDE apps which I frequently use (Kile, Kate).
The keybindings work OK but get lost as soon as I drop files from a file manager (Explorer or Dolphin) into Spyder. Then, immediately, the shortcuts are reset to default values.
A restart of Spyder fixes it temporarily, until the next file drop.
Would be nice to have this fixed :) Otherwise, great great application. I LOVE the variable explorer!
From danielst...@googlemail.com on 2011-03-09T04:59:43Z
Hi, I just noticed, keybindings are also killed/reset when files are opened the regular way, at least on WinXP.
From pierre.raybaut on 2011-03-09T09:01:46Z
The fact that this bug is occuring after opening files does really help me reproducing the bug and understanding where it comes from.
I should be able to propose a fix really soon.
Status: Accepted
From pierre.raybaut on 2011-03-09T09:11:36Z
This issue was closed by revision f79e0bc2eb .
Status: Fixed
From danielst...@googlemail.com on 2011-03-09T10:16:27Z
Beautiful, thanks for this quick fix!
How can I apply the changed file? I did a clone with "hg clone https://spyderlib.googlecode.com/hg/ spyderlib" but the setup.py fails, as does clonebuild.py:
mada@dionysosPRO:~/bin/spyder> python clonebuild.py
abort: repository spyder-2.0.9 not found!
Traceback (most recent call last):
File "clonebuild.py", line 27, in
Thanks in advance, Daniel
From pierre.raybaut on 2011-03-09T12:37:35Z
The clonebuild.py script is not intended to be used by regular user, so it's not expected to be working out-of-the-box.
The setup.py on the contrary should work as is. If not, please post the traceback. Thanks!
From pierre.raybaut on 2011-04-24T07:38:28Z
This issue was closed by revision f79e0bc2eb39 .
From steve.f....@gmail.com on 2010-12-14T12:12:33Z
One of my keyboard shortcut randomly quits working. I have remapped "go to line" to Ctrl+G. I can either restart Spyder, or go into the preferences and map it to another key and then remap it to fix the problem.
What steps will reproduce the problem?
Unsure how to reproduce. What version of the product are you using? On what operating system? spyder 2.0.4, python 2.6.1, Windows XP
Please provide any additional information below
. I believe there was some other Ctrl+G shortcut originally, but I've remapped that to something else.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=499