Comments (3)
Same here when using masscode with Windows 10 Pro.
from masscode.
I have this issue as well on Windows 10 Pro. As long as the massCode application is on the primary window when you close the application or open and running when you change the number of monitors you are using then the application will stay on the main window. However if it is closed on a window that is not your primary window and then the number of monitors changes then the application doesn't have a way to check that and so it opens on a monitor that is no longer available. I believe this can be handled in a function inside the CreateWindow() function under src > main > index.ts so that when you load the bounds of the application it then checks to see if those bounds are still within the current available displays. If true then it continues creating the window otherwise it will reset the window to be on the primary monitor. I think the call is pretty simple. It just needs to check the app bounds against the election screen.GetAllDisplays() result. I have done something similar in another application and am currently working on applying that solution to this app.
from masscode.
this is not a masscode issue in itself, its an windows issue.
the position of non fullscreenapps is stored as coordinates. so if your laptop monitor is for example 1920x1080 your app coordinates on the external monitor will be somwhere at >1921,>1081
what should work is select icon, hold windows key, use arrowkeys left several times to bring it to the main window
permanent toolless workround, if you dont use your laptopscreen while bigscreen is connected rearrange it in display settings. move it to the right.
that way the external monitor will start at 0,0
from masscode.
Related Issues (20)
- [Bug]: massCode won't start on Linux Mint 21 with snapd HOT 2
- [Bug]: using multi device/platform via google drive solution HOT 1
- [Bug]: Common shortcut for comment/uncomment is missing HOT 4
- [Bug]: MacOS Unable to open v3.10.0 (arm64) HOT 2
- [Bug]: The New Storage / Move Storage dialogs are disabled
- [Bug]: Missing Snippets HOT 2
- [Bug]: Apple Silicon can't open HOT 1
- [Bug]: massCode suddenly not working at all HOT 1
- Unable to open Application on Mac Silicon HOT 2
- Title bar is white on system with dark mode enabled HOT 1
- [Bug]: Website Latest Release Page Not Updated HOT 1
- [Bug]: massCode Window Occasionally Hang When Switch Between Monitors
- [Bug]: Incompatible storage error HOT 1
- [Bug]: VB language not exists HOT 1
- [Bug]: All snipets are gone after Update through winget to version 3.11.0, db file still there HOT 1
- [Bug]: The search also lists other results in which the search term does not appear HOT 1
- [Bug]: Nested folder creation does not work HOT 1
- [Bug]: Saving db.json in git and working on different branches, resolves in unsolveable merge conflicts. HOT 3
- [Bug]: Unreadable text
- [Bug]: Startup takes a loooong time even on new DB
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 masscode.