Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11 => black logging window no longer auto closes on launch #446

Open
tutorllini opened this issue Nov 27, 2022 · 12 comments
Open

Windows 11 => black logging window no longer auto closes on launch #446

tutorllini opened this issue Nov 27, 2022 · 12 comments
Labels
bug external issue About something beyond our (direct) control GUI OS:Windows

Comments

@tutorllini
Copy link

(Thanks for reporting an issue! Please make sure to fill out the blanks below.)

What's wrong, and with what software version?

Operating System: … Windows 11
CEmu version: … v2.0dev
Describe your issue:
… CEmu64 black window does not auto close on Windows 11

What are the steps to reproduce this issue?

  1. … Launch CEmu
  2. … Observe 2nd window not auto closing

Any logs, error output, screenshot, other comments...?


image

@adriweb
Copy link
Member

adriweb commented Nov 27, 2022

Can confirme on (a recent) Windows 11 - apparently doesn't happen on older versions of windows.
There's also no logging there, in the default (?) window, or the one that pop up when we explicitly ask for it in the menus, even with console logging picked instead of in the dock.

@adriweb adriweb added bug external issue About something beyond our (direct) control GUI OS:Windows labels Nov 27, 2022
@adriweb
Copy link
Member

adriweb commented Nov 27, 2022

However, after restarting CEmu, logging does appear there... and closing the main window also closes it.
So... it's only buggy the first time?

@tutorllini
Copy link
Author

Hi Adrien!

My issue is that I really want the black logging window to auto close on launch. Anything I can do to make that happen? Just like on Windows 10.

@adriweb
Copy link
Member

adriweb commented Nov 30, 2022

I have no idea for now sorry :P
The fact that it was working on a previous windows version is annoying, considering we didn't change the behavior in CEmu

@Stephan-P
Copy link
Contributor

@tutorllini
I only use CEmu for maths educational purposes and have no desire whatsoever for the Terminal window to appear.

I guess we would need some sort of automated task in the Windows Task Scheduler
Task "Kill CEmu Terminal":

  • if CEmu AND Terminal become active
  • then close the Terminal window

Now how can we establish this?
I'm on the hunt!

@adriweb
Copy link
Member

adriweb commented Dec 2, 2022

No, it would of course be better to do this in windows-specific CEmu code instead.
edit: but of course for now (until that's done), feel free to implement (and share :D) any external workaround!

@Stephan-P
Copy link
Contributor

Solution from Microsoft Learn:

  • create - if you hadn't done so already - a shortcut to CEmu.exe
  • give the shortcut the property "run minimized"

Start CEmu through this shortcut and it will start without the Terminal window. Pin to your taskbar for regular usage.

@adriweb
Copy link
Member

adriweb commented Dec 3, 2022

Good job finding this workaround!

@Stephan-P
Copy link
Contributor

Stephan-P commented Dec 3, 2022

BTW, in my CEMu installation folder (C:\Program Files\CEmu) I've placed the following additional files that may be helpful:

  • TI-84 Plus CE-T Emulator.ico
  • TI-84 Plus CE-T Emulator.lnk

CEmu ico and lnk.zip

@tutorllini
Copy link
Author

tutorllini commented Dec 3, 2022 via email

@Stephan-P
Copy link
Contributor

Stephan-P commented Dec 3, 2022

The first is an alternative icon for CEmu.
The second is a shortcut to cemu.exe making use of this alternative icon
Feel free to ignore or use it as you prefer

@adriweb
Copy link
Member

adriweb commented Jan 10, 2023

Back on topic, this may solve that : https://cmake.org/cmake/help/v3.15/prop_tgt/WIN32_EXECUTABLE.html
We are in the process of having a qt6+cmake CI for macOS and Windows (VS) build set up, and this flag looks promising...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug external issue About something beyond our (direct) control GUI OS:Windows
Development

No branches or pull requests

3 participants