Closed Bug 495521 Opened 16 years ago Closed 14 years ago

Holding down paste key combo pastes older items from clipboard

Categories

(Skywriter Graveyard :: Editor, defect, P4)

0.2.3
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: arharris2, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Build Identifier: 0.2.3 "Super Cirrus" (2009-05-22) I am using bespin 0.2.3 on mozilla firefox 3.0.10. When editing a document in bespin and copying a string of text from within the document you are working on and then repasting that string multiple times by holding down the ctrl-v combo for more than a couple of seconds bespin will start to paste in the string of text that was in the clipboard last. Reproducible: Always Steps to Reproduce: 1. copy a string of text from a website, file, etc. 2. open a document in bespin that has content in it already (I have not tried an empty document) 3. select a string of text from the document you just opened in bespin and press ctrl-c 4. press and hold ctrl-v for several seconds or until the text you originally copied in step one starts to appear. Actual Results: older string starts to appear Expected Results: older string should not appear
I'm not able to reproduce this on a Mac, using Firefox 3.1b3. Is anyone else experiencing this? It's possible that this has already been fixed in the latest Bespin code, which is not yet live at bespin.mozilla.com.
Component: General → Editor
QA Contact: general → editor
Version: unspecified → 0.2.3
I could not reproduce on my mac when I got home from work, however this bug is definitely present in firefox on windows. On a related note, I just realized that in firefox 3.0.6 bespin does not continue to paste more than once when holding down ctrl-v
So, are you saying that it's a regression between 3.0.6 and 3.0.10? And you can reproduce this consistently?
sorry for not being clear, 3.0.10 was on my windows machine at work (XP professional with latest updates) and could be reproduced consistently (I tried several times . 3.0.6 was on my macbook pro at home and was only pasting once for every press of the ctrl-v combo. I just updated the version on my mac to 3.0.10 and it was acting the same as the 3.0.6 version on my mac. This seems to be a windows only problem. I have not tried linux but I could try that that out tomorrow if you would like. I have ubuntu installed.
OK, so then it's more likely specific to Windows, not the version of Firefox. Testing on Unbuntu would probably confirm this, but it won't give us any information to help rectify the situation. I wonder if this has anything to do with the "ding" sound that occurs after many actions on Mac—the sound that means "You can't do that". Perhaps there is some (incorrect?) code that is coincidentally preventing this bug from occurring on a Mac by preventing some part of the action.
Negative on the specific to Windows, I just recreated this using Firefox 3.0.10 on Ubuntu Jaunty. IMHO it's Firefox 3.0.10.
If it helps, my user-agent is: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10
Looking at the source of a bespin page, the doctype is simply <!doctype html> Maybe a more specific/explicit doctype could help direct Firefox as to how to properly interpret the page, and possibly help with this.
(In reply to comment #8) > Looking at the source of a bespin page, the doctype is simply <!doctype html> > > Maybe a more specific/explicit doctype could help direct Firefox as to how to > properly interpret the page, and possibly help with this. Nope, that's the proper HTML5 doctype. But you're able to reproduce this consistently in Firefox 3.0.10, across multiple platforms?
OS: Windows XP → All
Hardware: x86 → All
I think you may have been on to something in comment 5. There may be a bug present in firefox on os x (or vise versa, firefox may be correct on os x, and wrong on both windows and linux) and the same bug in the bespin code manifests itself differently depending on which system it's being run on. It should be worth pointing out that Safari 4 beta (5528.16) works fine. So perhaps webkit implements this tiny bit of the canvas tag correctly whereas this specific version of gecko does not. (acid test 4 anyone?) Also is it worth testing on the latest version of Opera?
I just noticed that this was confirmed by multiple people, so marking as such. I'm also renaming the bug somewhat. I wonder if this should be better placed in Key Bindings? (In reply to comment #10) > I think you may have been on to something in comment 5. There may be a bug > present in firefox on os x (or vise versa, firefox may be correct on os x, and > wrong on both windows and linux) and the same bug in the bespin code manifests > itself differently depending on which system it's being run on. > > It should be worth pointing out that Safari 4 beta (5528.16) works fine. So > perhaps webkit implements this tiny bit of the canvas tag correctly whereas > this specific version of gecko does not. (acid test 4 anyone?) > > Also is it worth testing on the latest version of Opera? I'd say, test in as many browsers as you can. If our code is doing something wrong, this is the best way to narrow it down.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: When holding down the ctrl-v combo bespin eventually pastes older items from clipboard → Holding down paste key combo pastes older items from clipboard
As it turns out that’s a whole lot harder than it sounds. Neither opera 9.64 nor the opera 10 beta would even show the bar at the top of bespin.mozilla.com to login. Not sure if this is another bug or someone on the bespin team just really doesn't like opera :D
We're getting reports that this is related to Firefox-only code and is fixed in tip, which contains newer code than bespin.mozilla.com. Could you test the code on tip?
I'm not really sure how to get to tip.
If you don't want to attempt actually checking out the code, HgWeb packages up tip for you: http://hg.mozilla.org/labs/bespin/summary Click on one of the three archive links: zip, gz, bz2. (In the future, though, this isn't a support medium, so stop by #bespin for help.)
Priority: -- → P4
ACETRANSITION The Skywriter project has merged with Ajax.org's Ace project (the full server part of which is their Cloud9 IDE project). Background on the change is here: http://mozillalabs.com/skywriter/2011/01/18/mozilla-skywriter-has-been-merged-into-ace/ The bugs in the Skywriter product are not necessarily relevant for Ace and quite a bit of code has changed. For that reason, I'm closing all of these bugs. Problems that you have with Ace should be filed in the Ace issue tracker at GitHub: https://github.com/ajaxorg/ace/issues
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.