XnViev MP turns off controller when active,
when using a PS4 controller (with inputmapper or ds4) to control the OS,
opening XnView MP (make as active window) couses controller to fail.
Button recognition, touchpanel etc. have no function.
when opening a diffrent programm (make xnview mp inactive) controller works again
XnView MP turns off PS4 controller when active
Moderators: helmut, XnTriq, xnview, Dreamer
Re: XnViev MP turns off PS4 controller when active
Thank you for your problem report, Elocai. Most people (including me) are lacking of a PS4 controller, so it's hard to reproduce your problem.
I guess this has something to do with event handling: Windows events are passed to the program with the input focus, first. If the program doesn't handle the event, it's passed on to the OS.
Does the problem persist if you open a different program (e.g. Notepad) and input focus is on that program (i.e. XnView window is not the active window)?
I guess this has something to do with event handling: Windows events are passed to the program with the input focus, first. If the program doesn't handle the event, it's passed on to the OS.
Does the problem persist if you open a different program (e.g. Notepad) and input focus is on that program (i.e. XnView window is not the active window)?
Re: XnView MP turns off PS4 controller when active
I dont think you have to use an PS4 Controller, the behavior should be the same for PS3 and XBox controllers, maybe even normal pc controllers.
The problem persists only when XnView MP has the input focus.
XnView (without MP) had no problems with that, as no other programms as well.
When input focus is changen to an other programm or even just desktop, everything works fine again.
It´s a very strange problem, as i have no other software that behaves like that.
If a sowtware has build in support for controllers than it sometimes happens that action like push a button A where counted double as AA.
Or button function are overwritten.
But this is a totally diffrent story, when input focus goes to XnView MP, all controller functions are "dead" the buttons, touchpad etc. have no function at all.
When input focus goes to an other programm everything works fine.
The next strange thing is, that using the controller i can open and close programms, like using a normal mouse.
So i can change input focus with the controller itself etc. but when i go over the XnView MP window my left mouse button doesn´t seem to work.
The controller cant change input focus to xnview mp, and when i change it with normal mouse, then the controller is "dead" and has no function, till i change input focus to something diffrent.
I dont understand whats happening, seems like xnview mp would not just block or ignore events from the controller but turn it off.
Or blocking events globally, Or overwrite all events from the controller to none.
It´s hard to describe whats happening there. I use the controller as a tochpad, as a mouse, i have left and right click so everything is like a normal mouse.
When XnView MP is the Active Window with input focus. Than nothing works anymore, the mouse movement is not recognised, the buttons dont work etc.
Only normal mouse and keyboard behave normaly.
The problem persists only when XnView MP has the input focus.
XnView (without MP) had no problems with that, as no other programms as well.
When input focus is changen to an other programm or even just desktop, everything works fine again.
It´s a very strange problem, as i have no other software that behaves like that.
If a sowtware has build in support for controllers than it sometimes happens that action like push a button A where counted double as AA.
Or button function are overwritten.
But this is a totally diffrent story, when input focus goes to XnView MP, all controller functions are "dead" the buttons, touchpad etc. have no function at all.
When input focus goes to an other programm everything works fine.
The next strange thing is, that using the controller i can open and close programms, like using a normal mouse.
So i can change input focus with the controller itself etc. but when i go over the XnView MP window my left mouse button doesn´t seem to work.
The controller cant change input focus to xnview mp, and when i change it with normal mouse, then the controller is "dead" and has no function, till i change input focus to something diffrent.
I dont understand whats happening, seems like xnview mp would not just block or ignore events from the controller but turn it off.
Or blocking events globally, Or overwrite all events from the controller to none.
It´s hard to describe whats happening there. I use the controller as a tochpad, as a mouse, i have left and right click so everything is like a normal mouse.
When XnView MP is the Active Window with input focus. Than nothing works anymore, the mouse movement is not recognised, the buttons dont work etc.
Only normal mouse and keyboard behave normaly.
Re: XnView MP turns off PS4 controller when active
Thank you for your long reply and explanation, elocai, which helps to understand the problem. As expected the problem only occurs when XnView has the input focus. FAIK, XnView MP supports swiping - perhaps this has to do with your problem. All in all it looks as if XnView MP or the underlaying Qt grab the events fired by your PS4 controller and don't pass the events on to the operating system (Windows).
Perhaps Pierre can explain better and even take some action to avoid this problem.
Perhaps Pierre can explain better and even take some action to avoid this problem.
Re: XnView MP turns off PS4 controller when active
Could you please try to (re)move all subfolders in plugins folder of XnViewMP (except windows)?
Pierre.
Re: XnView MP turns off PS4 controller when active
There is no subfolder "..\plugins\windows".xnview wrote:Could you please try to (re)move all subfolders in plugins folder of XnViewMP (except windows)?

Re: XnView MP turns off PS4 controller when active
sorry plugins\platformshelmut wrote:There is no subfolder "..\plugins\windows".xnview wrote:Could you please try to (re)move all subfolders in plugins folder of XnViewMP (except windows)?
Pierre.
Re: XnView MP turns off PS4 controller when active
Not reproducable and no feedback.
Closed. (Please post here if the problem still occurs. Please provide more info, then).

Re: XnView MP turns off PS4 controller when active
- will be back in some weeks to investigate further and try your suggestions, atm i have exam and they take all of my free-time -