Giter VIP home page Giter VIP logo

Comments (13)

flyingpie avatar flyingpie commented on September 22, 2024 1

@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.

flyingpie avatar flyingpie commented on September 22, 2024

@jannispl Thank you for reaching out! Could you post any logs that are generated next to the exe?

from windows-terminal-quake.

jannispl avatar jannispl commented on September 22, 2024

@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.

jannispl avatar jannispl commented on September 22, 2024

I also checked Terminal settings:

grafik

from windows-terminal-quake.

flyingpie avatar flyingpie commented on September 22, 2024

@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.

jannispl avatar jannispl commented on September 22, 2024

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.

flyingpie avatar flyingpie commented on September 22, 2024

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.

jannispl avatar jannispl commented on September 22, 2024

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.

flyingpie avatar flyingpie commented on September 22, 2024

@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 avatar jannispl commented on September 22, 2024

@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.

jannispl avatar jannispl commented on September 22, 2024

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.

flyingpie avatar flyingpie commented on September 22, 2024

@jannispl Thank you for pointing that out! I'll see if I can reproduce it that way.

from windows-terminal-quake.

jannispl avatar jannispl commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.