XMBC frequently resets to default settings randomly.

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
NOTE: To reduce spam, new users can not post links, files or images until they have at least 4 posts.
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

XMBC frequently resets to default settings randomly.

Post by Foghorn »

XMBC Version:
Windows Version:
Mouse Information (brand/model):
Computer Information:
Did the problem occur after an upgrade of XMBC or Windows?:
How long have you used XMBC?:
What language and keyboard layout do you use in Windows?:

Clear description of the problem:

2.16.1
Windows 10 v.1709 os build 16299.431
Cyber Power "Gaming optical mouse"
64 bit operating system, x64-based processor
Unknown, but don't believe so.
2 years
English, qwerty

XMBC frequently resets to default settings randomly. Re-install of XMBC restores my settings. Worked fine for months before the problem started.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

That's certainly odd and not something I have seen... XMBC stores its settings in an xml settings file (somewhere under your user profile by default). You can load and save other profiles, which get saved as XMBCS files - which if you double click, will open in XMBC (thus changing your settings) but I guess you are not doing that!

When the settings are reset, do you loose all application profiles? or is it specific settings?

Are there anything (errors/warnings) in the log file - there probably wont be much as by default logging is minimal. You might like to turn on debug logging and when it randomly resets the settings again send me a copy of the log, ideally highlighting the time at which the reset occurred (roughly). Note that debug logging will turn itself off once XMBC restarts!

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

When the settings are reset, do you loose all application profiles? or is it specific settings?
It resets to the mouse's original button functions, but as soon as I reload XMBC, hit finish, it changes to my chosen setting with no setting adjustment needed, so it appears to save my profile. It just turns itself off.
I'm not computer literate enough to know how to turn on debug logging.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

Ah OK, so its like XMBC is exiting/crashing or simply being disabled - causing the mouse buttons to not be re-mapped.
If its crashing or exiting, then the XMBC icon (in the system tray, to the right of the taskbar by the clock) will go away until you re-load it?
If its being disabled, the icon will change from a white mouse icon to a grey mouse icon with a little red X in it.

NOTE: the icon may be hidden in the extended system tray - in which case, the little up ^ arrow to the left of the icons in the system tray should show it.

To turn on debug logging, in XMBC, hit the settings button and then on the "Updates and logging" tab, you can turn it on there. Debug logging only stays on until next time XMBC is run (or you turn it off manually). You can also open the log file from that tab. Turn it on, hit OK and APPLY, wait for it to go wrong, then <run XMBC again> open up the log file and copy and paste it here, or PM/email the whole log file to me as an attachment.

I am rather busy at the moment - most of my weekends are all booked up, but I will try and find some time to look into the log if you can get it to me!

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

Excellent. Thanks. I'll do the above as soon as I can. I appreciate the help.
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

Deleted useless log
Last edited by Foghorn on Wed May 30, 2018 12:48 am, edited 1 time in total.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

Hi, unfortunately the log does not tell me much at all without debug logging enabled. There is nothing obvious there...
Debug logging is much more verbose!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

I turned on De-bugging.
The icon now has a red dot behind it, but is still working fine.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

Yes, the red indicates debug is enabled!
Bear in mind, next time XMBC restarts, debug will be off again - lets hope it stops working quickly and the log proves useful!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

PMed you the log file.

Thanks.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

OK, got the PM, will try and look over the weekend but prob not before sunday eve as I'm out tomorrow!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

N0 worries. Thanks.
I discovered this morning that after the settings revert back to factory if I open the XMBC icon in the system tray, and it remains maximized on the screen, my settings come back, but once you minimize the icon back to the tray it goes bad again. Re-install fixes it every time and retains my settings.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

Just curious, rather than reinstall, if you exit XMBC (right click the icon in the system tray and select exit) then rerun it again from the start menu, does that "fix" your missing settings (I bet it does)?

To me, it sound like the mouse hook is getting removed by something else - and that means XMBC wont see the buttons and cant remap them. Restarting should fix that - disabling and re-enabling (can also be done on the right click menu on the XMBC systray icon) should also fix that - if thats the case, then we need to find out what is removing the mouse hook. Other programs can use their own hooks which can interfere with XMBC, and Windows can remove hooks that take too long (timeout) which can happen if your hook timeout is too low which by default it may be.

Unfortunately your trimmed log did not tell me the hook timeout - you can check this on the advanced settings tab in XMBC - if it is less than 2000ms (2sec) then try increasing it to 5000ms or 10000ms. NOTE This change wont come into effect until you reboot so OK/Apply the change then reboot and then see if the problem goes away.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Foghorn
New User
Posts: 13
Joined: Thu May 17, 2018 12:57 pm

Re: XMBC frequently resets to default settings randomly.

Post by Foghorn »

I tried disabling it then re-abling it and that works get everything right again.

The hook timeout seems to be at 1000ms, I'll try changing it to 5000ms.
User avatar
phil
Site Admin
Posts: 7627
Joined: Sun Apr 06, 2003 11:12 pm

Re: XMBC frequently resets to default settings randomly.

Post by phil »

OK, let me know how that goes.
If it helps, you can setup a global hotkey to toggle XMBC disable/enable via the keyboard (e.g. CTRL+SHIFT+E) to make things a bit quicker, but I would like to get to the bottom of this - as we are narrowing it down!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Post Reply