Hi all, i'm experiencing an annoying problem with uVision 5: when I go into debug session and then go back to the edit session, the uVision 5 stays always on top and I can't switch between the other open programs. I must shut down the uVsion and re-open. Could anyone help me? Thanks in advance
Davide
Hello Davide,
which OS and which MDK version are you using? I have not seen such a behavior before.
Kind regards,
Christopher
Hi Christopher, I'm using uVision 5 under windows 7;
These are the other info:
IDE-Version: µVision V5.14.0.0 Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.
Tool Version Numbers: Toolchain: MDK-ARM Professional Version: 5.14.0.0 Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin C Compiler: Armcc.exe V5.05 update 1 (build 106) Assembler: Armasm.exe V5.05 update 1 (build 106) Linker/Locator: ArmLink.exe V5.05 update 1 (build 106) Library Manager: ArmAr.exe V5.05 update 1 (build 106) Hex Converter: FromElf.exe V5.05 update 1 (build 106) CPU DLL: SARMCM3.DLL V5.14.0.0 Dialog DLL: DCM.DLL V1.13.1.0 Target DLL: ULP2CM3.DLL V2.200.0.0 Dialog DLL: TCM.DLL V1.14.4.0
thanks for your support
Maybe this uVision menu command helps: Window - Reset Windows to Defaults.
Does this solve the issue?
When the window gets in this state, can you press
Alt still down press the N key? - it should minimise the current window.
Does this issue appear if you open a Keil example, or does the window only lock up with your example?
Hi Reinhard,
Thanks for your help, but this doesn't solve the problem. The only way it's to kill the IDE and restart
Thanks
Ho Ron
ALT + N
doesn't work.
Sorry
Same issue:
Keil 5.15 Windows 7 Ultimate AMD Catalyst driver 15.7.1
Hi Stian, did ypu resolve this problem? I'm continuing to experience this...
thanks. Davide
I think Keil sets itself as always on top when you start debug session (never understood why anyone wants this), but when stopping the debug session it seems random if it is able to disable it again.
I think it's a corruption of the windows state - possibly caused by graphics driver code issues.
I have several times seen other programs randomly do this. Such as Mozilla Thunderbird suddenly placing one single mail always on top. So the only way to see other windows has been to minimize that mail or to close and reopen it.
I have only seen it on one single machine - even while running the same applications (and same versions) on other machines. So it's likely to be something machine-unique (like the graphics drivers) that causes this.
I've seen this occur in uv4 versions too, on an x64 Win 7 box using AMD Catalyst drivers.
Is not keil always on top for other users when debug session is active? Every time I start debug session, the keil window minimizes, and then reappears, but as always on top?
Hello Davide, are you using the "Show Desktop" feature of Windows sometimes (Win+D)? It looks like the always-on-top attribute is then sometimes set to the active window when returning from the desktop. Can you try Ctrl+Alt+Esc on the uVision window?
Matthias
Further investigation:
Always on top seems to only be enabled when Keil is maximized when starting the debug session.
Always on top seems to only be disabled when Keil is maximized when stopping the debug session.
sometimes when Keil is not maximized and debug session is started, it will lay itself under the previous used program, and you will need to select any other program and keil again in order to raise up the window again. But this happens more rare, so not able to find a pattern here.
ctrl-alt-escape minimizes the window, but sometimes needs to press it twice in Keil. Does not change always on top if it has been enabled.
I have not used windows + d (show desktop) in this windows login session until now.
Keil is the only software on this machine that does this funky always on top.
Hi Matthias,
I never used the "Show Desktop" feature. Anyway, the workaround that you suggested works fine: Ctrl+Alt+Esc minimize the window and when re-maximized the window doesn't stay on top. It's not the solution, but it works. Thanks!