pygtk minimizing and maximizing window - window

I'm using pygtk and once I minimize window (iconyfy it) window manager uses its animation to do that. Before i minimize it (user can't do that;no minimize button, just from code) it is on right hand size of desktop. Now when user clicks on tackbar icon wm shows up window, but it's not on right hand side, it goes to the center of the screen. Is there a way to remove this behavior? I'm using ubuntu 12.04.

Related

Strange windows window panel

I'm developing an application for the game window but I encounter a strange issue. About 5% of users have different top window panels of the game. In the attachment, you can see the normal window panel and Incorrect (different) version. Every user uses Windows 10 and has the same version of the game application. I'm not sure but on the right side of the incorrect window panel, there is some old-styled leftover (kind of) off minimize/fullscreen/exit buttons. Does anyone know what may cause this strange problem? Maybe they need to change some windows settings, so their game window will look like a Normal window panel?
Window panel example

Dragging just after Gaining Window Focus

When a window gains focus via a mouse click (left, right, or middle button), and the button is held, Windows seems to automatically send a mouse released event to the newly focused window after about 0.5 seconds, regardless of whether or not the button is held for longer.
A very easy way to see this bug is to focus on another window (that is not your browser...), and then middle click on this window (it will gain focus), and scroll to the left or right without letting go. It will automatically stop scrolling for you after about 0.5 seconds, as you can tell by the cursor change.
It is annoying because oftentimes I don't realize that a window has lost focus, and I make mistakes by not dragging items as far as I intended, etc. Of course I can just click once to gain focus or alt-tab and then drag, but I'd rather not.
Is there a way such that:
The mouse released event is sent immediately to the window, to stop the drag event from happening in the first place, or
Windows doesn't automatically send a window a mouse released event?
Interestingly enough, Windows Explorer circumvents this issue by never gaining focus when you click on a draggable item. It seems that the folks over at Windows certainly know about it.
Well, I posted this same question on the Microsoft forums and the representative suggested I make a new user account. For whatever reason, this solved the problem.
EDIT: It had nothing to do with the user account, and everything to do with background processes stealing my window focus. In my case, it was the Logitech Gaming Software that came with my mouse, which stole the focus for a split second to determine what new window had been clicked on, and if necessary, change the mouse button profile. Pesky mouse.

Full-Screen, Transparent App & Main Menu Interaction

I'm making an app that covers the screen, so I have a window covering the screen completely, with its level higher than the main menu.
So I draw over the main menu, but I want the main menu to be accessible, still.
How would I do so?
IMHO it is probably best (and also MAS acceptable) to force your app to run in full-screen mode. That way the menubar will still display if the user hovers in its area but you get the benefit of using the entire screen.

KDE for Windows (7): non-resizable dialogs

the problem: I have to use win7 currently, but I want to use Umbrello UML. Now I have installed the KDE for Windows port and the tool is running. But if there high dialogs poping up or other windows that are not resizeable it could happen that I do not reach the bottom buttons because it is out of scree.
Even if I disabled the window snapping via mouse, I cannot move the window over the top border of the desktop to reach the bottom bar. It is always snapping back to the visible area.
Any ideas how to solve this problem?
Finally found a workaround: http://code.google.com/p/altdrag/ is working great. Now I am able to move the window like I want to.

Limit mouse movement to one window only

I am trying to mimic a Head-Up Display in a racing simulator, and I want to display a semi-transperant program window (i.e. a browser window showing a java applet) which limits mouse movements to that window only.
That way I can use a USB-track pad or the like to interact with the content in the dialog screen while still interacting with the racing simulator.
My question is mainly focused on the restriction of mouse movement, is this possible in Windows 7?
Regards
Use the ClipCursor API call - Make sure you undo any clipping when your window is deactivated or minimized.

Resources