mkowske Show full post »
mkowske
Hi Patrick,

Just wondering if you need any other information from me or if there is a place to file a formal support ticket -- would love to get this one figured out (the text/html thing).
Quote
pthompson
Mike,

A formal request that can be tracked can be submitted at http://support.thebrain.com or by emailing support@thebrain.com

It may be the customizations you mentioned that are causing the issue but I have no way of knowing for certain.
Quote
mkowske
Patrick,

Are you positive your test machine is Ubuntu Linux 14.04 LTS? I was concerned that my very minor font customizations to the system might have been a problem like you suggested so I reverted those changes back to the system default and have the same issues.

In addition I installed a brand new clean copy of Ubuntu 14.04 onto a VMware image, installed Oracle JRE 8 update 25, downloaded and installed The Brain. Created a test brain and have the same issues (no drag and drop functionality, foreign characters when pasting rich text). Nothing else was changed with the install.

I will submit a formal support ticket but I find it really surprising that you are not encountering any of these issues yourself.

Are there any other Ubuntu users out there that can comment?

edit update:

I tried a few different flavors of Java and got some results with the drag & drop. The pasting of text is broken still in all versions I tried.

Oracle Java 8 update 25: drag n' drop does NOT work
Oracle Java 7 update 71: drag n' drop DOES work. Sort of.  An exception is thrown when you drop the file and it also then hangs when you try to exit TheBrain (below).
OpenJDK 1.7.0_65: drag and drop DOES work with same issues as Oracle version.

Exception from drop:
54476 [Thread-58] ERROR com.thebrain.personal.d.l.l -
java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)
    at com.thebrain.personal.d.l.l.H(qhd:0)
...

Exception after Ctrl-C because TheBrain hangs on quit:
186461 [AWT-EventQueue-0] INFO com.thebrain.personal.h.k - Shutdown stage 2
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: null source
    at java.util.EventObject.<init>(EventObject.java:56)
    at java.awt.AWTEvent.<init>(AWTEvent.java:337)
    at java.awt.event.InvocationEvent.<init>(InvocationEvent.java:285
...

Quote
pthompson
Thank you for sending in your ticket. We'll be looking into this further.
Quote
dummyano
Hi, these are the results of some tests I did when I was trying to solve TheBrain issues under linux some months ago.
I found they are mostly dependent on JRE version.
TL;DR  best results with officials JRE6, JRE9 (only up until b25, later versions break drag&drop) and openJDK8.
I'm currently using `local/jre-devel 9b25-1` as JRE9 was faster.

System:
- arch linux 64bit, AMD graphics opensource drivers
- Thebrain version was 8.0.1.3
- drag&drop tested with nautilus file browser

Tested for
- refresh: under some tiling wm (awesomewm, i3) menus and notes are not redrawn properly
- Drag/Drop: put nautilus and the brain side by side and try dragging a file in the plex
- Clipboard:
  * try copying a weblink in chromium and pasting in plex  
  * try copying a file in nautilus and pasting in plex


vers        Refresh     Drag/Drop   Clipboard
-----------------------------------------------------------
jre6            no          yes             yes
jre7            no          no               no
jre8            yes        no               no copy/paste, totally, no file, no weblink, no attachment
openjdk7   no          half             all copy/paste work + drag drop link work, only drag drop file NO
openjdk8   yes         no               NO drag drop, yes copy/paste file, yes copy/paste links
jre9-25      yes         no               NO drag drop, yes copy/paste file, yes copy/paste links
jre9-b33    yes         half             NO copy paste clipboard, only drag drop file works, no weblink
 
I know you think you understand what you thought I said, but I'm not sure if you realize that what you heard is not what I meant.
Quote
mkowske
dummyano,

Thanks for posting your results. Two questions for you:

1) Are you able to get any copy/paste of rich text to work? (copy from just about any web page, paste into the notes field... are there garbage characters?) This is accompanied by a warning message in the console.

2) JRE9? I did not know this was even available... do you have a link to download/build instructions?
Quote
mdcjsps
Hi mkowske/Patrick
I'm running last version of theBrain 7 on linux (ubuntu 15.10),
I am able to drag and drop files onto a thought and have it insert a link to the file.
I use mucommander to do this.

mkowske wrote: Patrick,

Are you positive your test machine is Ubuntu Linux 14.04 LTS? I was concerned that my very minor font customizations to the system might have been a problem like you suggested so I reverted those changes back to the system default and have the same issues.

In addition I installed a brand new clean copy of Ubuntu 14.04 onto a VMware image, installed Oracle JRE 8 update 25, downloaded and installed The Brain. Created a test brain and have the same issues (no drag and drop functionality, foreign characters when pasting rich text). Nothing else was changed with the install.

I will submit a formal support ticket but I find it really surprising that you are not encountering any of these issues yourself.

Are there any other Ubuntu users out there that can comment?

edit update:

I tried a few different flavors of Java and got some results with the drag & drop. The pasting of text is broken still in all versions I tried.

Oracle Java 8 update 25: drag n' drop does NOT work
Oracle Java 7 update 71: drag n' drop DOES work. Sort of.  An exception is thrown when you drop the file and it also then hangs when you try to exit TheBrain (below).
OpenJDK 1.7.0_65: drag and drop DOES work with same issues as Oracle version.

Exception from drop:
54476 [Thread-58] ERROR com.thebrain.personal.d.l.l -
java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)
    at com.thebrain.personal.d.l.l.H(qhd:0)
...

Exception after Ctrl-C because TheBrain hangs on quit:
186461 [AWT-EventQueue-0] INFO com.thebrain.personal.h.k - Shutdown stage 2
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: null source
    at java.util.EventObject.<init>(EventObject.java:56)
    at java.awt.AWTEvent.<init>(AWTEvent.java:337)
    at java.awt.event.InvocationEvent.<init>(InvocationEvent.java:285
...

Marc
Quote
mkowske
Thanks for the info Marc I have heard from others as well that mucommander works for file drag n' drop.

Have you been able to drag and drop web links into TheBrain at all? That is something I cannot get working. I have tried with Firefox and Chromium.  There is an older topic here that wasn't answered:

http://forums.thebrain.com/post/drag-drop-web-links-in-linux-3655056

And it looks like it may have worked at some point as indicated by this Transitioning to TheBrain 7 Guide:

http://assets.thebrain.com/documents/Transition_Guide_TheBrain_7.pdf

Page 13 says: "Drag and drop of files and URLs is supported in Linux"

I can't imagine that support would have been removed but I can't figure out how to get it to work (URLs specifically).

Here is my current workaround for pasting URLs in TheBrain:

1. Create bookmarklet with the below code to enable copying of the page title:

Code:

javascript:window.prompt("Copy to clipboard: Ctrl+C, Enter",document.title);


2. I use the Vimium extension for Chromium so I can quickly copy the page URL (yy) but you could also Ctrl+L, Ctrl+C and also to quickly navigate to the above bookmarklet.

Then to actually paste into TheBrain 

1. 'b' followed by "copy" to open the bookmarklet
2. Ctrl+C to copy the page title
3. Alt-tab to TheBrain and Ctrl+Shift+V to create child of current thought with Page Title in clipboard
4. Alt-tab to Chromium and 'yy' to copy page URL to clipboard
5. Alt-tab to TheBrain and Ctrl+Shift+V to paste URL as web link of current thought

Not exactly as quick as simply dragging and dropping but until that is supported in linux it's the best I could do!
Quote
mdcjsps
Hi Patrick...
I wasn't able to get 'drag and drop' a URL to work.  I get a link using the add attachment feature.
Thanks for your workaround.  I'll give it a try.
Marc
Marc
Quote

Add a Website Forum to your website.

Newsletter Signup  Newsletter Signup        Visit TheBrain Blog   Visit TheBrain Blog       Follow us on Twitter   Follow Us       Like Us on Facebook   Like Us         Circle Us on Google+  Circle Us         Watch Us on Youtube  Watch Us       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software