Beaker: Linux doesn't support import both files & folders at the same time

Created on 22 Aug 2017  Â·  22Comments  Â·  Source: beakerbrowser/beaker

Operation System:
Manjaro Deepin (Linux x64)
Beaker Version:
0.7.5

When I click to create a new website I can't seem to import files.
It opens a dialog to import a file but all files are greyed out and I can't select them.

bug

Most helpful comment

Version 0.7.8 will have an "Add folder" btn that's separate from "Add file", if you're on linux

All 22 comments

That's no good. I'll spin up my linux box soon and see if I can replicate the issue.

Sorry for the trouble.

That's ok.
The interface is slightly different from the video.
It doesn't have the "add Files" or "open folder" links. I can only import files through the dropdown button.
I also haven't figured out a way to change the title, it remains "Untitled".
I also have deleted a website project, then closed beaker them open it and the deleted project appears on the left panel.
If you want to install my distro here it is the Manjaro Deepin downloads

FYI If you're on the master branch, you may be getting some half-finished work that we're doing.

so what git commands should I execute to get a stable release?
Thanks

Sorry, try this:

git checkout tags/0.7.5
rm package-lock.json # to battle npm's nonsense
rm app/package-lock.json
npm run burnthemall
npm start

(Not sure that'll solve your problem though)

Now its better.
Everything is resolved except selecting the files which are still greyed out.
Here is a screenshot of what I get:
deepinscreenshot_electron_20170824122345

Great, I'm sure that's just a misconfigured param. I'll jump into my linux box soon.

Turns out, Linux and Windows aren't able to import files and folders at the same time. You have to choose one or the other. Very weak.

@alexandre1985 if you can wait for the next release, I'll put some time into a solution for this that deals with the folders/files situation.

That's ok, I'll wait

Thanks Daniel, sorry about the wait.

On Sat, Aug 26, 2017 at 9:37 AM, Daniel Alexandre Cerqueira Santos <
[email protected]> wrote:

That's ok, I'll wait

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/668#issuecomment-325133609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU8dJzuDN3qrVDq3o0_-ScY2ksOesks5scC2tgaJpZM4O_Mfc
.

This issue bit me today when I pulled master and rebuilt to update Beaker. Rolling back to 0.7.5 as you suggested seemed to fix it. Just thought I'd chime in.
Arch Linux x64

Also bitten on Ubuntu 16.10 :) Wasn't able to import folders or files: individual files are greyed out; folders allow import, but nothing happens. But I also rolled back to 0.7.5, which is workable -- can import folders (but not individual files) ...

Cheers!

i also reproduced @dwblair's claim on my xubu vm tonight. looks like onImportFiles expects archiveInfo, but is not passed one. therefore, cannot read property 'url' of undefined is yielded on L643. im not sure what the convention is in this codebase yet for binding that missing var.

I'll put some time into a solution for this that deals with the folders/files situation

ya, it's a real bummer. i see this documented in the electron docs too. it's almost as though we need two seperate buttons--import files, import folders. i'm not optimistic about other meaningful UX hacks that would meet the need.

We might need to consider a custom built file-picker modal

I have the same issue both on master branch 91781b and on stable release. I can't select files and directory import does not work. I'm on Arch Linux.

On the stable release you should be able to select files, I think.

I'm 99% sure we'll have to solve this with a custom files browser modal on
linux.

On Thu, Oct 12, 2017 at 9:10 AM, Daniel Lewan notifications@github.com
wrote:

I have the same issue both on master branch 91781b and on stable release.
I can't select files and directory import does not work. I'm on Arch Linux.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/668#issuecomment-336149031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU1aPGUG6lluWpQOCOaCKE9BxREtoks5srh3CgaJpZM4O_Mfc
.

zrzut ekranu z 2017-10-12 17-07-35

Unfortunately files are greyed out.

Bleh

On Thu, Oct 12, 2017 at 10:08 AM, Daniel Lewan notifications@github.com
wrote:

[image: zrzut ekranu z 2017-10-12 17-07-35]
https://user-images.githubusercontent.com/4397533/31503417-e3057d6e-af6f-11e7-8adf-62c91299fff0.png

Unfortunately files are greyed out.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/668#issuecomment-336167212,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU-u5DfyQLUfdtozpPWQukv3Ki9d2ks5sritsgaJpZM4O_Mfc
.

Sorry, I was wrong, 0.7.5 works pretty well with change folder

For everyone building from source on Linux-- removing the 'openDirectory' option from the line containing "showOpenDialog" in either beaker/app/builtin-pages/views/library.js or beaker/app/builtin-pages/com/files-list.js (depending on what branch you're in) and then rebuilding can provide a temporary fix to this issue.

Version 0.7.8 will have an "Add folder" btn that's separate from "Add file", if you're on linux

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmario picture pmario  Â·  3Comments

mundusnine picture mundusnine  Â·  3Comments

pfrazee picture pfrazee  Â·  3Comments

NicholasGWK picture NicholasGWK  Â·  4Comments

ShalokShalom picture ShalokShalom  Â·  4Comments