Comments (4)
The total canvas size shown by the browser is currently fixed to the size that was first encountered when the browser connects. This is something that we need to fix with the noVNC package - probably an extra button to allow the user to resize everything.
The small windows can be fixed by specifying minimum sizes but that should probably depend on the canvas size. With tabbed and scrolling windows - I think this will be less of a problem but the long term fix is to link minimum windows sizes to the canvas size.
from biodepot-workflow-builder.
It seems that when I first launch bwb the canvas fills the browser window's available space (desired behavior), and subsequent launches show the background (VNC?) components, like the reboot and shutdown buttons (undesirable). This one sounds tricky based on our discussion!
Is sizing a GUI container based on its children components's sizes something that fits quicktime's paradigm?
from biodepot-workflow-builder.
TLDR - enter localhost:6080 as URL not localhost:6080/vnc_auto.html to connect to Bwb container if you want a resize
The noVNC module does a resize the first time the browser connects by doing a redirect and then redirects to localhost:6080/vnc_auto.html (assuming that localhost is the ip you are using and 6080 is the port you chose in the docker run command)
Your browser will keep this localhost:6080/vnc_auto.html in the search/url bar of your browser when you quit the Bwb container. If you use this URL to connect next time - no resizing will be done. It will either use the last size or the default size which is something very small. To trigger a resize you need to use enter localhost:6080 into the search bar (or bookmark it...)
We really should fix this at some time but it's not our code so I would have to figure out exactly what the code is doing at startup and how best to fix it.
I will add it to the FAQs in the docs until we fix it. This, the lack of a cut and paste into the browser, and the mapping of keystrokes so that ^W doesn't close the window in Chrome are the most annoying things that need to be fixed with the noVNC module.
from biodepot-workflow-builder.
Looking at the code - it checks the initial url - if it does not have a route defined it will call a javascript method to get the window size and then redirect to another url which will then be handled by a python script which will send the size to the framebuffer. There appears to be no way to resize the framebuffer afterwards
So - it could be that you have a pop-up blocker on that is blocking the javascript method. If that is the case it will size the window to the default size
Alternatively you can pass the redirect url directly with the size
i.e.
localhost:6080/redirect.html?width=1707&height=872
or whatever width and height you want.
from biodepot-workflow-builder.
Related Issues (20)
- Widget builder file picker filepath unused HOT 2
- Parameters aren't labelled in created widget HOT 1
- Error upon saving an already-saved new widget HOT 1
- Install packages like papermill HOT 1
- The tool is working only in one instance HOT 2
- W: --force-yes is deprecated, use one of the options starting with --allow instead. HOT 3
- Add 'str list' as input type for widget parameters HOT 2
- no option to set bool flag (true/false) when it is set as an optional parameter HOT 3
- TypeError when adding new widget from existing widget HOT 1
- Required and optional parameters are not passed to container when command field is left empty HOT 2
- Edit Links cannot display all possible links in some cases HOT 1
- Add option to enable/disable VNC disconnect HOT 1
- Bwb new widget from template issue HOT 1
- Dockerfiles not copied when creating new widget and using SaveAs HOT 1
- Password protection on VPC leaves users exposed to attacks
- Saving Workflow HOT 1
- UnknownWidgetDefinition: Widget disappears when adding a parameter with a dash "-" in the name
- Disable Scheduler options while widget is running
- Docker cannot run shell scripts with Windows crlf on Linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biodepot-workflow-builder.