Comments (13)
@jannispl Thank you so much for reporting this! I'll include it in the docs. PersistentWindows seems to solve a problem I was having too :)
from windows-terminal-quake.
@jannispl Thank you for reaching out! Could you post any logs that are generated next to the exe?
from windows-terminal-quake.
@jannispl Thank you for reaching out! Could you post any logs that are generated next to the exe?
It doesn't seem relevant but here you go:
2024-02-21 09:54:47.593 +01:00 [ERR] Error creating process: 'Started process'
2024-02-21 09:54:49.464 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:54:49.535 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:54:49.664 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:54:49.919 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:56:29.212 +01:00 [ERR] Error creating process: 'Started process'
2024-02-21 09:56:29.277 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:56:29.350 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
2024-02-21 09:56:29.454 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
The "Main window handle not accessible" is an error that sometimes shows up when quake-terminal is started from autostart (I get a corresponding error message box and continue to launch quake-terminal manually).
from windows-terminal-quake.
I also checked Terminal settings:
from windows-terminal-quake.
@jannispl Thank you for reaching out! Could you post any logs that are generated next to the exe?
It doesn't seem relevant but here you go:
2024-02-21 09:54:47.593 +01:00 [ERR] Error creating process: 'Started process' 2024-02-21 09:54:49.464 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:54:49.535 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:54:49.664 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:54:49.919 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:56:29.212 +01:00 [ERR] Error creating process: 'Started process' 2024-02-21 09:56:29.277 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:56:29.350 +01:00 [ERR] Error creating process: 'Main window handle not accessible.' 2024-02-21 09:56:29.454 +01:00 [ERR] Error creating process: 'Main window handle not accessible.'
The "Main window handle not accessible" is an error that sometimes shows up when quake-terminal is started from autostart (I get a corresponding error message box and continue to launch quake-terminal manually).
What do you mean by "autostart" here?
from windows-terminal-quake.
What do you mean by "autostart" here?
I have placed a shortcut to windows-quake-terminal.exe in my "Startup" directory (C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
).
Sometimes it works, sometimes it fails and shows me the "Main window handle not accessible" error message.
from windows-terminal-quake.
What do you mean by "autostart" here?
I have placed a shortcut to windows-quake-terminal.exe in my "Startup" directory (
C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
).Sometimes it works, sometimes it fails and shows me the "Main window handle not accessible" error message.
Mm, I wonder whether the problem lies with Windows Terminal not being available soon enough, and that the windows-terminal-quake app is started multiple times due to that.
Do you ever have this happen when not using the autostart setup?
from windows-terminal-quake.
As I said my autostart problem is unrelated to this issue - the tray icon appears regardless of whether quake-terminal is launched by autostart or manually.
from windows-terminal-quake.
@jannispl Do you have multiple actual "windows-terminal-quake.exe"-processes running when this occurs, or is it only ever 1? Do some of the icons disappear when you hover them?
from windows-terminal-quake.
@jannispl Do you have multiple actual "windows-terminal-quake.exe"-processes running when this occurs, or is it only ever 1? Do some of the icons disappear when you hover them?
There is only a single process running. The icons don't disappear when I hover over them. Hovering reveals a tooltip which looks like the title of the tab that was active at the time (although sometimes it's a different tab). Clicking on any of the icons opens a new Windows Terminal window with the tabs that were open before in windows-quake-terminal (without the quake mode). The icon also disappears when clicking.
I also noticed that when hiding the windows-terminal-quake by losing focus (rather than using the shortcut), no new icons appear in the tray.
from windows-terminal-quake.
After again checking my Windows taskbar/notification area settings, I realized that the terminal tray icons seem to be coming from "PersistentWindows" (5.51), which is a tool I use to restore window positions after (un)docking my laptop. It seems to behave weirdly in combination with windows-quake-terminal. When PersistentWindows is not running, no new tray icons appear. I wonder if this is fixable in either windows-quake-terminal or PersistentWindows?
from windows-terminal-quake.
@jannispl Thank you for pointing that out! I'll see if I can reproduce it that way.
from windows-terminal-quake.
Apparently this is a (hidden) feature of PersistentWindows (minimize to tray while holding ctrl). A command line flag to disable this behavior is going to be introduced in the next release.
from windows-terminal-quake.
Related Issues (20)
- Unexpected behaviour: Hiding console after maximizing window reverts back to old size.
- Error opening terminal HOT 6
- Package/Release on winget HOT 7
- Toggling always switches back to the original virtual desktop (v1.2.0+) HOT 2
- Support multiple modifiers HOT 5
- Fix scoop installation on Quake Documentation HOT 1
- MSTerminal: snapToGridOnResize= false. Incompatible with windows-terminal-quake HOT 9
- Running it with administrative permission HOT 3
- Can you do the quake behavior for multiple apps? HOT 25
- Taskbar icon cannot be hidden HOT 12
- Feature Request: display badge in taskbar HOT 5
- Main window handle not available yet. HOT 11
- Allow using shortcuts without a modifier HOT 2
- Wrong windows is captured when app is started through a shim (such as many Scoop apps)
- Odd behavior for Win+R start in Windows 11 HOT 7
- Apps don't fully go off screen in specific multi-monitor configurations HOT 1
- Winget Uninstall Denies Admin User While App is Running HOT 4
- GUI HOT 3
- Failed to find or start window for app 'PowerShell' HOT 11
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 windows-terminal-quake.