Labs/Bespin/KnownIssues: Difference between revisions

From MozillaWiki
< Labs‎ | Bespin
Jump to navigation Jump to search
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

Revision as of 01:58, 12 March 2009

The definitive place for issues is of course 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?

This is something we very much want to fix. Unfortunately it isn't trivial. Our problem is that we do a lot in the key handling side, and we know that on foreign keyboard you often have to hold down a couple of keys to get a keypress event that makes sense (e.g. to get a { in the document).

We have started to make this work better, and contributors like Andrea's have given us great thoughts on using a hidden textarea to get us through, and we need to work more on this. Please help!

I am having strange issues with my key bindings

Key binding that works across different browsers, platforms (operating systems) and country settings is hard.

For example, we have seen issues where for some people hitting backspace in Chrome causes a back command to fire, even though we are trapping that code.

We realize that we need to abstract our current key binding system to branch off for various platforms.

If you run into problems, we want to hear from you. What works best is if you can try the key combination that you are using in the Keycode tester. This way we will know exactly what is coming through.

Also, we are planning on creating an interesting key map tool that will enable people to setup their own keymaps and crowdsource the problem to make sure we are rock solid on key handling.

Why does it seem slow on Linux?

People using Firefox3 on Linux with an Nvidia card are facing important performance issues on canvas rendering that makes Bespin unusable (see related Bug).

This is due to the fact that, under firefox 3, canvas uses xlib/xrender for its rendering instead of pure software rendering under firefox 2. Unfortunately, the state of xrender in Nvidia binary driver is still far from perfection.

The currents solutions are either to use the "NV" drivers (but it won't be possible to benefit of the same level of 3D acceleration used by compiz and co) or to use the latest binary drivers (>= 173) and tweak the InitialPixmapPlacement as follows:

nvidia-settings -a InitialPixmapPlacement=2

To make this tweak permanent, add a new entry in your session configuration. For example in Ubuntu: System > preferences > sessions > add ...

Why does it seem slow on Chrome?

We were surprised ourselves when we first ran Bespin in Chrome (v2.x) and it was very slow for us, and the fonts were wacked. Still trying to work this one out.

Why is copy and paste not working with the system clipboard?

As of Bespin 0.1.4, the system clipboard is now working properly with WebKit and Firefox. Vote for this bug to allow us to add better capability for Firefox.

To read more on the issue check out a couple of posts from us on the topic:

http://almaer.com/blog/supporting-the-system-clipboard-in-your-web-applications-what-a-pain

http://almaer.com/blog/supporting-the-system-clipboard-in-your-web-applications-part-two