ConEmu / old-issues

Old issues for ConEmu project (import is pending)
http://conemu.github.io/
0 stars 1 forks source link

ConEmu has incorrect Z-order in 'Vista Switcher' Alt-Tab replacement #667

Open ConEmu opened 9 years ago

ConEmu commented 9 years ago

From friendbo...@gmail.com on August 06, 2012 06:14:54

Required information! OS version: Win7 SP1 x64 ConEmu version: 120617a Bug description ConEmu has incorrect Z-order in 'Vista Switcher' Alt-Tab replacement. When Vista Switcher is enabled, Alt-Tabbing away from ConEmu leaves it at the top of the Z-order. Alt-Tab away from ConEmu , then when you press Alt-Tab again to return, you actually end up with a different window. I'm not sure if it's a flaw in Vista Switcher, ConEmu or just a problem between the two...

Workaround: If you enable ConEmu 's 'Always on top' option, then disable it again, it starts working properly with Vista Switcher! Steps to reproduction 1. Install and enable Vista Switcher ( http://www.ntwind.com/software/vistaswitcher.html )

  1. Open ConEmu and any two other programs. Activate the ConEmu window.
  2. Alt-Tab away, then (try to) Alt-Tab back. ConEmu won't be focused -- even though it should have been -- the third program will be.

Original issue: http://code.google.com/p/conemu-maximus5/issues/detail?id=667

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on August 06, 2012 11:56:40

Thought, you may disable "Show on taskbar" checkbox on "Tabs" page.

ConEmu commented 9 years ago

From friendbo...@gmail.com on August 06, 2012 12:41:22

Confirmed with 120803 x64.

I disabled "Show on taskbar" and restarted ConEmu . The same behaviour occurs.

ConEmu commented 9 years ago

From inmat...@gmail.com on August 07, 2012 11:35:59

This is probably bug in 'Vista Switcher'. Standard Windows Alt/Win-Tab don't have this issue.

ConEmu commented 9 years ago

From friendbo...@gmail.com on August 07, 2012 11:53:10

True, the standard Alt-Tab mechanism doesn't have this problem. But I've been using Vista Switcher for a while now, and I haven't found any other programs that experience this problem. Also, why would the problem go away when I set and then unset ConEmu 's 'Always on top' option?

ConEmu commented 9 years ago

From inmat...@gmail.com on August 08, 2012 09:12:53

Probably there is a bug in both apps. I think Vista Switcher developer must also be informed about this problem.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on August 09, 2012 22:38:30

I have reported this problem to author http://www.ntwind.com/forum/viewtopic.php?f=4&t=2973&sid=731f2b5db9a27b91aa6025022105f6de

ConEmu commented 9 years ago

From thecybershadow on October 19, 2012 01:14:42

As the Vista Switcher author didn't seem to take any action - would it be feasable to add a ConEmu option to work around this Vista Switcher bug (e.g. by automatically doing the "Always on top" toggle workaround)?

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on October 19, 2012 01:44:37

It will be possible, if I'll know the source of the problem. But I don't.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on October 19, 2012 01:51:13

Forums are currently under construction! Please use email for support: alexander@ntwind.com

ConEmu commented 9 years ago

From thecybershadow on October 19, 2012 10:41:06

I don't know the source of the problem, but I know the solution:

enum ID_ALWAYSONTOP = 0xABC5;
SendMessage(h, WM_SYSCOMMAND, ID_ALWAYSONTOP, 0);
SendMessage(h, WM_SYSCOMMAND, ID_ALWAYSONTOP, 0);

You probably won't like it, but it works for me :)

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on November 24, 2012 17:43:39

Check new build 121124?

ConEmu commented 9 years ago

From thecybershadow on November 26, 2012 17:17:09

Sorry, not fixed.

The above fix didn't always work. I added a Sleep(100) between the SendMessage calls, and since then it's worked all the time.

ConEmu commented 9 years ago

From olegl...@gmail.com on January 06, 2013 10:18:58

still happens in 130104 very annoying

ConEmu commented 9 years ago

From thecybershadow on January 06, 2013 11:09:35

Here is the program I use to work around this issue: http://dump.thecybershadow.net/29677ee1803f640773fc6543043ce138/conemu_vistaswitcher_fixer.exe Source: https://gist.github.com/4469536 You can put it in your startup. Note that it needs to be run as administrator to work on ConEmu instances launched as administrator.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on January 22, 2013 14:44:28

Issue 776 has been merged into this issue.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on January 22, 2013 14:45:41

Some changes was made in sources (svn updated). Build and check, please :)

Status: Accepted

ConEmu commented 9 years ago

From olegl...@gmail.com on January 25, 2013 11:17:11

Still the same bug with 130120.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on January 25, 2013 12:19:02

Where I've said it was fixed in 130120?

ConEmu commented 9 years ago

From olegl...@gmail.com on January 25, 2013 12:28:08

aren't dev builds based on "Some changes was made in sources (svn updated)." ?

ConEmu commented 9 years ago

From thecybershadow on January 25, 2013 12:29:04

"svn updated" is an invitation to people who [can] build ConEmu from source to do so and test.

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on January 25, 2013 12:30:15

Obviously, Dev build CAN'T provide fix that was made AFTER it was builded :D

ConEmu commented 9 years ago

From thecybershadow on January 25, 2013 12:36:13

Build and check, please :)

Seems to work, thanks!

ConEmu commented 9 years ago

From ConEmu.M...@gmail.com on January 28, 2013 14:48:37

New build arrived to public testing ) 130128

Status: Started