Closed David-DeZ closed 2 months ago
Just received another update - same problem
Did you see anything suspicious in the log? The Cinnamon log can be accessed with the shortcut "Alt-2", and the command "lg". In the opened application "Melange", select the "Log" tab and look for any warnings/errors, specifically entries with "yfquotes@thegli". On the "Extension" tab, you see all loaded Spices. Is the desklet in the list?
And since you can still access the settings - did you try to load the default values (menu entry "Reset to defaults")?
Thanks Thomas for helping!
Seems to be OK now - I had to add my stocks in 5 at a time (I watch about 60). If I added all it fully disappeared. I also had to adjust the layout height as I added - it was at 1080 - but had to be shortened and then lengthened as each group was added eventually back up to 1080, Weird!
Glad that it (somehow) works again :sweat: And I gave you a wrong shortcut :facepalm: The correct one is "Alt-F2"
It's odd that entering the full list at once did not work. If I understand you correctly, then you entered about 60 symbols, then clicked the (newly added in this version) "Refresh" button to reload them all, and then Cinnamon crashed? :worried: I also tested with 60 quotes, but could not reproduce this (highly undesired) behavior.
Here's an alternative you may want to try (in case the instabilities return): distribute your quotes across multiple desklet instances. Then there are less data to be fetched for each list which should reduce the chance for lags.
Regarding the layout: Yes, the desklet does not automatically adopt its size to the content. If the "vertical scrollbar" option is disabled (the default), then the entries simply overflow at the bottom, and you:
Hope these information are of some value.
Thanks once again Thomas! Yes - adding in all my 60 caused the desklet to disappear and in two occasions, LM to crash. Still strange why it first disappeared when the desklet was first updated. But - it's working now! You're right, my sizing problem was probably due to the scrollbar not being turned on. I like your suggestion to do multiple desklets if it happens again. I didn't know that could be done but just tried it - easy peasy! Although probably not connected to my problem - I noted that the two Quote Tabs do not reset to defaults simultaneously and can list different stocks - you may wish to address this.
Your desklet and friendly support is much appreciated!!! David
To get multiple instances, open the "Desklets" application, select the desklet in the list, and press the "+" (Add) button. A second instance (with default values) will appear. You can have up to 10 instances at the same time, and each instance manages its own settings (which you most likely want to export to separate files :smile:)
And what exactly do you mean with the two Quote Tabs do not reset to defaults simultaneously and can list different stocks? I'm not getting that one :face_with_diagonal_mouth:
Thanks! Neat that you can have multiple desklets!
Sorry, I didn't explain the situation fully. Hopefully I'll do better with this attempt. When you open configuration, the left tab is QUOTES. If you hit one of the top left arrows (beside Quotes) it will toggle the Quotes between having 2 to having 5 options under "Data Updates". While in Quotes, if you "Reset to defaults" it will replace the stocks listed to the default list - however if you toggle to the other Quotes, the original list of stocks will be there, not the default ones.
I hope that I've been clearer. As you can see, it probably has nothing to do with my issue, but while playing trying to solve my problem by resetting to defaults, I came across it. Perhaps it caused the LM to crash? In any case, it is an anomaly!
Hope that I've been of help!
BESTEST David
Ok, I'm probably too stupid/too tired for this :laughing: This is how the settings dialogue looks on my machine (also LM 21.3) using the default values:
Anyhow, glad to be of help, and thanks for your input! Thomas
Mine is different - note the arrows at the left top that do the toggle
After hitting an arrow
I'm tired too (GMT+3) - Be Well - Tomorrow is another day!
Having slept on it - here are some points to take into consideration.
Sorry Thomas - playing a bit more and came upon:
There are errors now in Looking Glass! error t=2024-08-24T09:10:41Z yfquotes@thegli - TypeError: symbolCustomization is undefined
Also I noted that my watchlist (copied from the config before I reset to defaults) is not exactly the one I used just before the problem arised! It looks more like my watchlist from about a year ago!
I have not done any type of restore and have yet to put in LM 22!
We are entering the twilight zone!!!!!
Thanks for the further analysis. Very strange indeed :ghost: Let's try to sort them all out:
That should be all, I hope :sweat_smile:
That did it, Thomas - THANKS!
I did what you suggested - copying my watchlist, noting my other preferences, then fully deleting the Desklet and re-downloading it, re-installing it and configuring it. No more arrows! Looks great- exactly as it did before this adventure started.
It looks like two problems (1&2 in your list), are serious and the second (Instabilities) complicated whatever my problem was and my attempts to recover from it. The upper/lower case was just an observation - and as you note, is a "nothing burger".
Hopefully that's it - although it was enjoyable and an honour to work with you, I hope not to have to bother you again. Nonetheless, I will keep this issue open until I get another update of your desklet via LM, which triggered this episode of the Twilight Zone, in case it reoccurs.
Be well Thomas, and thanks again!
BESTEST David
This PR addresses 1 and 2.
While I could fix the excessive request creation, there was a price to pay: Importing settings from a file no longer auto-reloads the quotes, and requires now a click of the "Refresh" button (which moved to the bottom of the screen). Depending on the previous dimensions, content may therefore overflow temporarily.
It's not the nicest solution, but the former situation was (technically speaking) much worse, and put some unnecessary stress onto Cinnamon.
Let me know what you think of it :owl:
Hi Thomas
Installed the update, checked the config, saw the refresh button had moved and everything looks fine. So, as requested I opened a second desklet with the intent to import my saved configuration, do the refresh and give you my opinion.
So - in general my opinion is (as usual with your work) positive! And we now have a clue why I previously had the arrows, however they were there before I added the second one (or even knew it was possible), it listed stocks from a year ago and I only had one desklet visible. My guess is that I perhaps unknowingly created a second instance a year ago, prior to when you did the fix for the User-Agent Header, thus giving me one Quote Tab with and one without, and somehow the remnant persevered and eventually perhaps caused me the disappearing issue of last week when the update broke the camels back, so to say..
Pending your reply I'll leave this issue open - but as far as I'm concerned I can close it and will do so unless you want further follow up.
Again - many thanks - your sharing of your talents and skills by providing this desklet, along with your time, efforts, and friendly assistance are all much appreciated!
BESTEST David
Hi David
Thanks for the throughout "beta" testing! I'm really glad that it works now for you.
Now I see the arrows, too :laughing: And you're absolutely correct: this is the way how Cinnamon presents the settings of multiple active desklet instances. Really strange that I never noticed that :frowning:
Regarding the import/export of desklet settings: When a settings file from an older desklet version is imported, then Cinnamon performs an in-flight merging with the current default settings. As long as these merged settings are not exported, this in-flight merge will happen once more next time the same old settings are loaded again. So exporting the settings is never a bad idea :bulb:
And a big Thank-You for your kind and encouraging words! :star_struck:
I'm still not super-happy with the manual refresh workaround I had to impose on the users. So far I couldn't figure out a way to bring back the old behavior. Well, let' see...
If you don't mind, you can close the issue for now. If needed you can reopen it anytime.
Cheers, Thomas
Thanks again Thomas.
I'll close this issue even though the original problem has not been explained, although resolved. However, debugging brought up other items that you have now addressed, which may have been the underlying cause of my manifestation!
I don't share your concern about having to manually do a refresh when importing settings. IMHO, no big deal!
Also not explained how I had settings for two desktop instances when only having one live - how they dated from about a year ago - and that I have no recollection of having previously exported or imported settings! But that's why we love IT - it's full of mysteries!
It's been a pleasure!
BESTEST David
The Desklet was just updated (22/08/24 - Linux Mint 21.3 Cinnamon) and has disappeared from the desktop - yet via the control panel I can access the configuration and all appears fine.