Comments (4)
For most programs, there is no problem putting them in the shell:startup
directory, because the programs do not interact with each other and the order in which they are started is not important.
But for VirtualSpace's window rules
, this is not the case. There are many undefined conditions for calling Windows functions on a program whose main window is in some transitional state during startup
. The windows in the Windows system are too diverse, which explains why Microsoft itself does not provide a built-in solution for window organization.
Concise solution:
Either put VirtualSpace in Windows' scheduled tasks
and give a reasonable startup delay
, or VirtualSpace itself provides the startup delay for window rules.
The failure retry mechanism you mentioned is only suitable for dealing with exceptions within the program itself, and failure retry due to external factors (unknown, uncontrollable) caused by errors is not a good solution, which will not only make the program itself unstable, but also affect the stability of other programs and even the system.
After all, this is a local program, not a C/S structure service that interacts through network protocols. Therefore, its stability, safety, and resource saving are the most important.
It can also answer your previous question about why you should use plug-in placement to provide features such as Cube3D
and Updater
.
This is because, in my opinion:
-
Modularity has many advantages, this is true for development, it is true for the stability of the program, and for users who do not need additional functions it is possible to not install plugins at all.
-
A local program should have no ability to access the network. If it weren't for the avoidance of frequent visits to websites to see if updates were available, the
Updater
plugin would not have been introduced intoVirtualSpace
at all.
from virtualspace.
Thanks for the comments, I will relegate VirtualSpace to start a few minutes after system startup to try to ensure a better user experience. Less advanced users may appreciate a "startup on system reboot" checkbox that delays itself a configurable amount of time or waits for idle time before launching (configurable ideally).
I'm also a little embarrassed to ask this question, but how exactly can I take advantage of the plugin behavior? I can see them installed, I can configure them, but I'm seeing no evidence they are actually running. Do individual plugins have to be enabled? What evidence can I see that they are working as intended ? Confused.
from virtualspace.
I ended up creating a Windows 10 Task Scheduler task with the following properties:
- Run only when user is logged on
- Triggers : At log on
- Actions : Start a program VirtualSpace
- Conditions : Start the task only if the computer is idle for: 3 minutes, wait for idle for 15 minutes
- Settings : Allow task to be run on demand, if the task fails, restart every 10 minutes up to 3 times, If the running task does not end when requested force it to stop, If the task is already running, Stop the existing instance.
I'm not sure if VirtualSpace will come up minimized on startup, I'll report back when I try this out on my next reboot.
from virtualspace.
Thank you for the quick turnaround, it is much appreciated !
from virtualspace.
Related Issues (20)
- Please allow alternate key combination for "Raise MainView" to be configurable. HOT 3
- Please change keyboard focus to WindowFilter when it is invoked HOT 3
- Crashes seen on 0.2.512.563 HOT 1
- Blocked from running by Windows Smartapp Control HOT 1
- VirtualSpace crashes unexpectedly and occasionally HOT 1
- [Feature Request] m*n arrangement 自定义m*n的布局(m!=n) HOT 1
- 1-based window nomenclature automatically reverts back to 0-based without explicit user configuration HOT 1
- TaskManager appears on the Windows Task HOT 1
- Rule search would be very useful HOT 2
- [Bug] MainView thumbnails not updating when moving active window to another virtual desktop using keyboard
- Windows flickering/appearing/disappearing rapidly during Cube desktop switch HOT 1
- New feature request - save the last rule to fire against a particular window HOT 2
- Crash dumps for your reading pleasure HOT 8
- The rule definition/create rule for this window is blank when opened.
- 0.2.536 stopped loading on Windows 11 HOT 7
- Arrange virtual desktops in a line
- Request support for Win11 Insider builds + (23H2) HOT 6
- Pin Window vs Pin App of Window options are reversed, wreaking havoc. HOT 1
- Crashing after update HOT 1
- Unhandled exception with Microsoft.NET when opening MainView 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 virtualspace.