Labs/Bespin/KnownIssues: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
The definitive place for issues is of course [https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&content=Bespin Bugzilla] but for large concerns we wanted a place for people to see that we have been thinking about them.
The definitive place for issues is of course [https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&content=Bespin Bugzilla] but for large concerns we wanted a place for people to see that we have been thinking about them.
==== How do I create a new file? ====
This is harder than it should be. In the future you will be able to create a new file directly in the dashboard file browser, but for now the command line is the best bet. From the editor type:
  newfile path/to/file.txt ProjectName
E.g. to create an aliases file in your settings area:
  newfile aliases.js BespinSettings


==== Why doesn't Bespin support i18n well? ====
==== Why doesn't Bespin support i18n well? ====
Line 36: Line 46:
==== Why is copy and paste not working with the system clipboard? ====
==== Why is copy and paste not working with the system clipboard? ====


As of Bespin 0.1.2, the system clipboard is now working properly with WebKit. Vote for [https://bugzilla.mozilla.org/show_bug.cgi?id=407983 this bug] to allow us to add the same capability for Firefox.
As of Bespin 0.1.4, the system clipboard is now working properly with WebKit and Firefox. Vote for [https://bugzilla.mozilla.org/show_bug.cgi?id=407983 this bug] to allow us to add better capability for Firefox.
 
(previous notes about copy/paste appear below)
Accessing the clipboard is painful from your own webapp. There are browser dependent ways to access it but they are awful to use. Most of the time they aren't viable, and when they can work.... they ask the user for the darn permission which is ugly.


With Flash 9 installed, we had a perfect solution. We used Flash to do the copy paste and it worked perfectly. Then Flash 10 came out and they broke that for us. For security reasons they made it so you had to click on something to get access. We have "zeroclipboard" a project that lets you hide the flash movie invisibly next to an icon (say, the copy icon) but that only works for using the icon itself, not via Cmd-C.
To read more on the issue check out a couple of posts from us on the topic:


Then we have the notion of the "Bespin Addon" which is a Firefox add-on that, if installed, has enough privs that the copy/paste can just work.
http://almaer.com/blog/supporting-the-system-clipboard-in-your-web-applications-what-a-pain


If someone has a nice solution here, we would love to hear it!
http://almaer.com/blog/supporting-the-system-clipboard-in-your-web-applications-part-two
355

edits

Navigation menu