Synergy

Issue Tracker (powered by SPIT)

Bug #371 - Games minimize when changing screens from a Windows 7 PC

Status:
Accepted
Priority:
Low
Assignee:
None
Category:
None
Target:
None
Found:
None
Created by:
Created on:
1 Feb 2010
Updated by:
None
Updated on:
13 Jan 2011 16:21
Platform:
None
Google ID:
gc-362
Redmine ID:
401

Google user: ahall1...@gmail.com

Any time you move the mouse to another PC's screen with a game running it
minimizes the game on the original screen if the PC is running Windows 7. I'm
not sure if this is a Windows 7 limitation or if we can get around this, this
didn't happen to me on my old 2 machine XP to XP setup though. There may even
be a work around to this if anyone knows though let me know.

Current configuration is W7 host, XP client. I'm lead to believe this happens
on any PC that's Windows7 though.

I have heard that changing the game to Maximized Window instead of Fullscreen
(if it supports it) can fix this issue but that's more of a jerry rig than a
fix since you have to use desktop resolution settings that way and games feel
like they run slower for me this way personally.



1 Feb 2010: Issue Importer changed Status.

New ?


1 Feb 2010: Issue Importer changed Assignee.

2


#1

1 Feb 2010: Issue Importer wrote a comment.

Google user: nick.bolton.uk

I'm pretty sure this happened in Vista - can anyone confirm? I think the reason why
this happens is because when the cursor moves off the screen, the input focus is sent
to a different handle, which causes the game to be minimised. I'm not sure if this
issue can be fixed.


#2

5 Feb 2010: Issue Importer wrote a comment.

Google user: ahall1...@gmail.com

Think I found a solution to this. I just set "Don't take foreground window on Windows
servers" so far it's behaving like XP to XP use to, I'll let you know if it doesn't
keep working this way.


#3

5 Feb 2010: Issue Importer wrote a comment.

Google user: ahall1...@gmail.com

Update here, as for not minimizing games, that problem is solved with that check box
on. However this creates 2 new problems: For some reason it's disrupting use of media
keys working to control Winamp and presumably other media software but I haven't
tried.

Furthermore, and even more annoyingly, Synergy is sending random events to Champions
Online when I play it (and probably other games haven't tested that yet). Problem is
I'm not sure what it's sending, but when I have certain windows open sometimes other
windows (that open via buttons on the window I have open already) popup, not sure if
it's a key press event (nothing in keybinds I know of on the game do this) or if it's
a mouse click happening on the button. Hope we can get a solution to this, I was
really happy to have the minimizing problem gone but now it's a trade off of
usability either way :\


#4

5 Feb 2010: Issue Importer wrote a comment.

Google user: ahall1...@gmail.com

oh little update here, I checked the logging, when the foreground option's on the media
keys don't get noted as pressed at all from the log, it does with the option off though
and works fine. So it's definitely not detecting those and I'm not sure why not.


#5

16 Feb 2010: Issue Importer wrote a comment.

Google user: nick.bolton.uk

Maybe you could attach some debug output? See the UserFAQ in the wiki.


17 Feb 2010: Issue Importer uploaded a file.

debug.txt - 27 Aug 2010 23:39


#6

17 Feb 2010: Issue Importer wrote a comment.

Google user: ahall1...@gmail.com

I was going to post some debug but Windows 7 is giving me a bit of hassle. After
playing more I've found that pretty much any time I start synergy and it isn't at the
automatic startup, it doesn't work with the media keys. Even with it working right it
doesn't seem to be showing key presses for them now in the log (which is weird
because it use to do this I know, because I've looked for it before, so guess you
can't even see that.)

As for the random key press thing in game, which I found to be a big issue with using
this foreground thing to avoid the minimizing problem, I tried the foreground setting
on at startup instead of just 'trying' it without a restart, now that I've noticed it
only seems to work right at startup. So far, so good, no minimizing in a game. I
wanted to complete some more testing of this with the random key press happening with
foreground on thing tonight to see about some debug logs, but I can't because the
goobers that run Champions took the servers down for maintenance earlier than their
schedule says. I'd test this with something else but it'd be better to wait, I
haven't played any games but champions noticing this bug before, so I'm really not
sure what I'm looking for on anything else.

Really the thing with Windows 7 only working entirely right at startup boggles me,
this probably has to be some kind of security thing. If I shut down synergy and
restart it (with admin rights on mind you) it doesn't use the media keys so it's
missing something, but I just don't know what. I'll see what I can get you later on
here, if just running this at startup with the foreground setting ends up fixing this
whole debacle it'd be nice. But I'm still boggled at why it would 'need' to be ran at
startup.


#7

17 Feb 2010: Issue Importer wrote a comment.

Google user: ahall1...@gmail.com

Ok, not sure what you're looking for exactly, I hope this is what you want for the
debug report, the example one on the UserFAQ looks more like one with programming
output, what I have is the output from synergy's console. Also, so far the foreground
setting works to avoid the minimizing game problem, and the key press thing but the
key press bug only seems to occur if Synergy isn't ran at startup/login. I don't know
why don't ask me, I know it sounds weird and I probably sound like a crazy quack ;)

I ran this after startup, with Champions running already, opened the game, and opened
the map by pressing M, and possibly moved around a bit using the mouse, space bar
and/or WASDEQ keys. I tested with this because something causes the Change Instance
box on the map window in the game to pop open shortly after running synergy like
this, this only occurs with Synergy running, after startup (as in, not at login
time), and with the don't take foreground window checkbox checked. I'd had some other
things to do random key presses on Champions too but I can't remember what.

As for the media key thing not working, it seems like anytime on Windows 7 you start
it and it's not at login this occurs, I thought that issue was tied to this
foreground window thing, but now I think that might be an entirely different issue
all together.


#8

4 Mar 2010: Issue Importer wrote a comment.

Google user: XcepticZoki

Thanks guys. This thread helped me out with my problem.


5 Jun 2010: Issue Importer changed Target.

?


#9

5 Jun 2010: Issue Importer wrote a comment.

Google user: nick.bolton.uk


4 Sep 2010 10:34: Nick Bolton changed Target.

?


11 Jan 2011 14:05: Nick Bolton changed Status.

? Accepted


#10

11 Jan 2011 14:05: Nick Bolton wrote a comment.

Please ignore this update. Just cleaning up issue status list.


13 Jan 2011 16:21: Nick Bolton changed Priorität.

Normal Low