XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
[Suggestion] Choice for multiple instances of widget or warn https://www.bbs.xwidget.com/viewtopic.php?f=3&t=3946 |
Page 1 of 1 |
Author: | meme [ December 31st, 2013, 1:39 pm ] |
Post subject: | [Suggestion] Choice for multiple instances of widget or warn |
On several occasions now one of my widgets was not operating correctly or my PC seemed a little slow or xwidget was freezing at startup, I found two instances of the same widget running. Closed one and all OK. So I ask... Should xwidget have an option to allow multiple instances of the same widget to run ![]() or Should xwidget warn you if the same widget is already running ![]() |
Author: | hamid [ December 31st, 2013, 5:41 pm ] |
Post subject: | Re: Allow multiple instances or warning |
meme wrote: On several occasions now one of my widgets was not operating correctly or my PC seemed a little slow or xwidget was freezing at startup, I found two instances of the same widget running. Closed one and all OK. So I ask... Should xwidget have an option to allow multiple instances of the same widget to run ![]() or Should xwidget warn you if the same widget is already running ![]() you can run as many widgets as you want without any limitation you can also run multiple instances of same widget without any limitation and also it won't warn you if same widget running all running widgets will save to the theme file separately; this means each widget will have separate configuration in theme file; so you can run same widget with different configuration i have also some kind of cpu usage problem; i don't know exactly when; but it happens when my system is up for some days or after some hibernating. it will use 10-15% higher cpu usage. after restarting my system the cpu usage will get back to normal. so you can try these: 1. check if the problem will happen again by using same widget 2. restart your system 3. test that widget again to see still have this problem if it doesn't fixed: there could be a problem with the script code. or maybe antivirus is checking the software. |
Author: | meme [ December 31st, 2013, 5:50 pm ] |
Post subject: | Re: Allow multiple instances or warning |
Thank you hamid for your reply As I said in the post my problems are caused by multiple instances of the same widget running, closing the duplicate resolves the issues. My post is about the option to allow or warn of multiple instance. |
Author: | hamid [ January 1st, 2014, 12:37 am ] |
Post subject: | Re: Allow multiple instances or warning |
meme wrote: Thank you hamid for your reply As I said in the post my problems are caused by multiple instances of the same widget running, closing the duplicate resolves the issues. My post is about the option to allow or warn of multiple instance. but there shouldn't be any problem with multiple instances of widget running. i currently have 13 widgets running and 3 of them are same widgets; and i don't have any problem. if you like you can post the widget to test it out. |
Author: | meme [ January 6th, 2014, 9:25 pm ] |
Post subject: | Re: Allow multiple instances or warning |
Thank you tasmani2606, I am aware of the option window to manage widgets, my post is about the option to allow or warn of multiple instance of the same widget running. |
Author: | hamid [ January 12th, 2014, 7:21 pm ] |
Post subject: | Re: Allow multiple instances or warning |
meme wrote: Thank you tasmani2606, I am aware of the option window to manage widgets, my post is about the option to allow or warn of multiple instance of the same widget running. just to clarify: you mean to have an option in settings to choose between 2 modes: 1. always allow multiple instances of widget 2. warn when multiple instance of widget started and choose to run it or not am i right? ========== but for your cpu usage problem: it would better to check your widget for errors or optimize your code a bit it happens to me when i use infinite loop or when i use some command like sleep() or some other that make high cpu usage it shouldn't normally happens to multiple instances of widget so better to check out your code |
Author: | meme [ January 12th, 2014, 9:54 pm ] |
Post subject: | Re: Allow multiple instances or warning |
Quote: just to clarify: Yes exactly, this option is common in programs that the user wishes to prevent multiple instances running. you mean to have an option in settings to choose between 2 modes: 1. always allow multiple instances of widget 2. warn when multiple instance of widget started and choose to run it or not am i right? Quote: so better to check out your code the problem is not the code, some issues are - multiple widgets using netmonitorcore causes inaccurate reading multiple widgets using webparsercore results in unnecessary updates and traffic. multiple widgets using datetimecore to preform operations on your PC like system shutdown, cause problems if widgets are configured to different values, saved ini values are different. If you have a widget that contains seven different cores all are operation twice, just unnecessary, and you may not be aware because one widget if behind the other. |
Author: | hamid [ January 13th, 2014, 7:42 am ] |
Post subject: | Re: Allow multiple instances or warning |
meme wrote: Quote: just to clarify: Yes exactly, this option is common in programs that the user wishes to prevent multiple instances running.you mean to have an option in settings to choose between 2 modes: 1. always allow multiple instances of widget 2. warn when multiple instance of widget started and choose to run it or not am i right? i hope Tony will see this and add this feature ============ in addition of this i have also some suggestions for xwidget to manage widgets easier: 1. in running tab of widget manager window mark duplicate of widgets with different color > to separate duplicates from other widgets to easily find duplicates 2. in running tab of widget manager by selecting a widget instead of Default Image of widget; display image of widget on desktop individually and if possible realtime image of widget > to find out position and size of widget on screen from widget manager and find out where to look for it > it would be better to be realtime to find out what is it doing now from widget manager > when multiple instance of widget is running it's so hard to find out which one you are looking for and which one you want to close and where to look for it 3. on show dashboard next to each close box of widget show number of widgets and number of duplicates; something like this: (DuplicateNumber/CountOfSameWidget)&(WidgetNumber/TotalCountOfWidgets) 4. in running tab of widget manager add sorting by name and by start date > when too many widgets running it would be easier to find it by name =========== i hope these could be added to xwidget |
Author: | digigamer [ January 25th, 2014, 7:58 pm ] |
Post subject: | Re: Allow multiple instances or warning |
Well, disabling multiple instances of the same widget wont be an welcome feature for me. Some of my widgets work on this very principle and with this change they will be rendered useless. |
Author: | meme [ January 25th, 2014, 10:10 pm ] |
Post subject: | Re: Allow multiple instances or warning |
No one said anything about disabling multiple instances of the same widget, if you read the suggestion fully it was Quote: Should xwidget have an option to allow multiple instances of the same widget to run ![]() or Should xwidget warn you if the same widget is already running ![]() The option to disable or the option for a warning would not stop people running multiple instances if they wish. |
Author: | digigamer [ March 13th, 2014, 5:54 am ] |
Post subject: | Re: Allow multiple instances or warning |
well, implementing any such option will render my widgets useless. Ofcourse, you don't want a popup everytime I add a new sticky note/shortcut (some of my widgets that internally spawn off a new instance of themselves)... |
Author: | meme [ March 13th, 2014, 12:36 pm ] |
Post subject: | Re: Allow multiple instances or warning |
Quote: implementing any such option not trueA check box in - Xwidget - Options that would allow multiple instances of the same widget would not affect you, you could even make the default to allow them, that way you would not have to go to the trouble of ticking the box. But don't worry it will never happen anyway.... ![]() |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |