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.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31221
No description provided.