Multiple Monitors/Windows Double Click For Focus #31221

Closed
opened 2012-05-01 23:20:56 +02:00 by Austere Grim · 11 comments

%%%I don't know if this has been brought up before, I couldn't search the huge database of bugs.

This is for blender.org 263

I am using multiple monitors on different machines, both Ubuntu Linux 12.04.
When I am modeling something or doing anything in one window, and want to say select on a different window (not pane, seperated window on a different monitor) I have to click twice for focus then again for whatever I wanted to do. Sometimes screwing up what I'm working with.

This is a minor inconvenience, but it would be awesome if someone could look into it. I don't expect it to be high priority.

I assume the only work around right now, is to open one long window across both screens. But this is also annoying for my setup that has two different sized screens.%%%

%%%I don't know if this has been brought up before, I couldn't search the huge database of bugs. This is for blender.org 263 I am using multiple monitors on different machines, both Ubuntu Linux 12.04. When I am modeling something or doing anything in one window, and want to say select on a different window (not pane, seperated window on a different monitor) I have to click twice for focus then again for whatever I wanted to do. Sometimes screwing up what I'm working with. This is a minor inconvenience, but it would be awesome if someone could look into it. I don't expect it to be high priority. I assume the only work around right now, is to open one long window across both screens. But this is also annoying for my setup that has two different sized screens.%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%This is something that is controlled by the window manager on Linux, it should be possible to configure it there, look for "focus follows mouse".%%%

%%%This is something that is controlled by the window manager on Linux, it should be possible to configure it there, look for "focus follows mouse".%%%
Author

%%%I thought so, but this isn't the case. It works with every other application within Ubuntu 12.04. But not blender, issue also happened in previous version of ubuntu.

Blender ignores focus, between screens.%%%

%%%I thought so, but this isn't the case. It works with every other application within Ubuntu 12.04. But not blender, issue also happened in previous version of ubuntu. Blender ignores focus, between screens.%%%
Author

%%%So a note, a little more into it. For example, shift middle click, works, except it doesn't recognize the shift press.

Here's what to do to recreate:
Two blender windows across screens.
Have an orthoginal 3d pane on one window, and a viewer 3d pane on another window.
Give focus to the viewer 3d pane, rotate with middle button.
Mouse over to the orthoginal view, and hold shift, middle click to move around (without rotation)... and nope! Shift isn't recognized.

Another issue same problem:
Cycles rendering in one window.
Focus given to other window.
Try and click on the pause button... no response.
Click on it a few more times... no response.
Click around it, anywhere to give focus to that window.
Then click pause. It responds. (This issue is relatively more noticeable because cycles is slowing down the machine.)
%%%

%%%So a note, a little more into it. For example, shift middle click, works, except it doesn't recognize the shift press. Here's what to do to recreate: Two blender windows across screens. Have an orthoginal 3d pane on one window, and a viewer 3d pane on another window. Give focus to the viewer 3d pane, rotate with middle button. Mouse over to the orthoginal view, and hold shift, middle click to move around (without rotation)... and nope! Shift isn't recognized. Another issue same problem: Cycles rendering in one window. Focus given to other window. Try and click on the pause button... no response. Click on it a few more times... no response. Click around it, anywhere to give focus to that window. Then click pause. It responds. (This issue is relatively more noticeable because cycles is slowing down the machine.) %%%

%%%See one failure of blender here: to click on button you need to slightly move a mouse after window is getting focused. Seems it's not necessary on other platforms, will look into this.%%%

%%%See one failure of blender here: to click on button you need to slightly move a mouse after window is getting focused. Seems it's not necessary on other platforms, will look into this.%%%
Author

%%%I think blender is ignoring focus set from the system. Which is causing the 3d view pane issues also.

But I don't know, it's hard to tell from my vantage point.%%%

%%%I think blender is ignoring focus set from the system. Which is causing the 3d view pane issues also. But I don't know, it's hard to tell from my vantage point.%%%

%%%Got patch which makes direct clicks on buttons from unfocused window behave as it's expected. tested configuration with focus not following the mouse and both configuraiton with passing click to unfocused window (in this case click would be immediatelly handled by button) and not passing (in this case button would be nicely activated and blender window would be focused).
Can not see any other issues from blender side, all the rest issues might be caused by window manager setup.

Brecht, can you please look into the patch? It's few lined of code and large comment block there. Interesting if it might be done more straight forward.%%%

%%%Got patch which makes direct clicks on buttons from unfocused window behave as it's expected. tested configuration with focus not following the mouse and both configuraiton with passing click to unfocused window (in this case click would be immediatelly handled by button) and not passing (in this case button would be nicely activated and blender window would be focused). Can not see any other issues from blender side, all the rest issues might be caused by window manager setup. Brecht, can you please look into the patch? It's few lined of code and large comment block there. Interesting if it might be done more straight forward.%%%

%%%I'm not sure how else to solve it, it's not even clear to me how this works on other operating systems, where the mouse move event comes from then. Maybe the operating system sends it? Anyway, seems quite safe to commit.%%%

%%%I'm not sure how else to solve it, it's not even clear to me how this works on other operating systems, where the mouse move event comes from then. Maybe the operating system sends it? Anyway, seems quite safe to commit.%%%

%%%Brecht,
Not sure about OSX, but on windows it seems WM_MOUSEMOVE event is generating in such cases.%%%

%%%Brecht, Not sure about OSX, but on windows it seems WM_MOUSEMOVE event is generating in such cases.%%%

%%%Patch commited to svn rev46505. Thanks for the report and review, closing.%%%

%%%Patch commited to svn rev46505. Thanks for the report and review, closing.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#31221
No description provided.