CE-Programming / CEmu

Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features
https://ce-programming.github.io/CEmu
Other
1.05k stars 77 forks source link

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

Closed tutorllini closed 2 months ago

tutorllini commented 1 year ago

(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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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":

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

adriweb commented 1 year ago

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 commented 1 year ago

Solution from Microsoft Learn:

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

adriweb commented 1 year ago

Good job finding this workaround!

Stephan-P commented 1 year ago

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

CEmu ico and lnk.zip

tutorllini commented 1 year ago

What do those two files do? Thanks so much for finding the solution!

On Sat, Dec 3, 2022 at 10:39 AM Stephan Paternotte @.***> wrote:

BTW, in my CEMu installation folder (C:\Program Files\CEmu) I've got 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 https://github.com/CE-Programming/CEmu/files/10146825/CEmu.ico.and.lnk.zip

— Reply to this email directly, view it on GitHub https://github.com/CE-Programming/CEmu/issues/446#issuecomment-1336184915, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4NCGQ6RU27SH4CIBFUHWQTWLNSR3ANCNFSM6AAAAAASML4HCU . You are receiving this because you were mentioned.Message ID: @.***>

Stephan-P commented 1 year ago

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 commented 1 year ago

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

adriweb commented 2 months ago

I'm not quite sure what changed, but I can't repro with the latest nightly version (for both qt5 and qt6 builds) on Win11.

Feel free to re-open with details if it happens again (using nightly at least)

Stephan-P commented 2 months ago

@adriweb Cleaning up or picking up developments again?

adriweb commented 2 months ago

Both - we're getting ready for a v2.0 release, and there is a very long list of improvements lately, mostly done by @calc84maniac :)