nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

Blender always have not responding when first time open #137

Closed nhok0169 closed 1 year ago

nhok0169 commented 1 year ago

System Information

when open blender first time on computer after turn it on it always not responding and i need close it and open it again. This error because im turn of function "enable on startup" when i turn it off i dont have that error.

nutti commented 1 year ago

@nhok0169

I could not reproduce your error.

it always not responding

Could you explain this more detail? Is there any error message if you open system console?

This error because im turn off function "enable on startup"

It seems this behavior is correct. When "enable on startup" is turned offf, Screencast Keys will not be enabled.

nhok0169 commented 1 year ago

@nutti like what i said everytime im open/restart my computer and open blender on my first time ( the eneble on startup check) it make my blender not responding i need turn it off with task manager and open again but weird when the second time open it work so im try turn of " enable on startup" and open/restart my pc and i dont have error about not responding when first time open it

nutti commented 1 year ago

@nhok0169

How about system console? Is there any output logs? We could not investigate your issue any more if there is no clue. Your procedure does not reproduce the issue on my environment.

nhok0169 commented 1 year ago

how i can get the log when it not responding bro i dont have anylog about that :(

nutti commented 1 year ago

@nhok0169

Is it possible to launch Blender from console (command prompt)? You can see the instruction from blender official site. If you launch Blender from console, you can see the output log.

nhok0169 commented 1 year ago

@nutti here you go first picture it when i have not responding image and here it normal after image im try turn off 2 of them (the error show in) too and still have error when turn on function enable on startup with blank cmd

nutti commented 1 year ago

@nhok0169

It seems no evidence from your log. Is this issue still appear if you disable all other add-ons except for Screencast Keys?

Please send us .blend file if above issue is still occur.

nhok0169 commented 1 year ago

hmm im turn every addon off and turn on again and now i can open blender on the first open but some project can open without blend and some of them need open on blender cant open it normal when click blend file so may be it not your plugin problem or your plugin have conflict with some plugin on my pc because before used your plugin it stil normal no error and i turn off only your plugin and i can open the project above here it the list image

nhok0169 commented 1 year ago

here it my blend file i have error no error on console when turn everything off https://secufiles.com/1a7511c43305d5fe/33tos.blend

nutti commented 1 year ago

@nhok0169

Thanks. I tried your .blend file, and it works correctly on my environment. I think this is the issue caused by the other add-ons. Could you turn on/off your add-ons and check which add-on cause this issue?

nhok0169 commented 1 year ago

I have good news every time i disable your plugin and turn it back on the error goes away for a few days and it comes back so i will check your cause when i get the error again here are my settings it's the same every time i have the problem i will try updating my blender to the latest version and I'll let you know if I get the error again image

nutti commented 1 year ago

I will close this issue for now because this issue seems the Screencast Keys' issue.

nhok0169 commented 1 year ago

hello im back the error comback on 2 3 day after reset and now i found a combo have a error when turn on it same time with "enable on startup" final error with enebale on startup cat blender 0.19 https://github.com/absolute-quantum/cats-blender-plugin material combine https://github.com/Grim-es/material-combiner-addon/releases/tag/2.1.2.4 another from blender here it full video test error : https://youtu.be/NKg3Ix72r-c

nutti commented 1 year ago

@nhok0169

I can reproduce the error with your .blend file when I enable the add-on "Cats Blender Plugin". But I still could not reproduce the error with other .blend file. It seems that this is the environmental issue or corner case, so please turn off "Enable On Startup" when this error is caused.

@CheeryLee

Sorry to mention you for the old topic (#62). Blender is stuck when we launch the Blender with enabling the option "Enable On Startup" on the specific case. It seems that this stuck is caused by calling the operator from the registered draw callback. Did you encounter this case on your environment?

CheeryLee commented 1 year ago

@nutti

Hi! Sorry for the late answer. When I wrote this stuff, there was no 3.x version released. At that moment Blender 3.0.1 is the last version where I've tested it. At least it works for me. I can dive in to understand what's going on, but it would take some time.

nutti commented 1 year ago

@CheeryLee

Thanks for your information. But this is not a mandatory issue because I think this is an environment issue. Actually, I could not reproduce this issue every time.