Pages:
Author

Topic: Bitcoin Windows gadget which displays BTC and currency amounts - page 2. (Read 69107 times)

newbie
Activity: 14
Merit: 0
sorry to resurrect this, I didn't want to start a new thread when anyone still using this may have this thread on watch and might be able to help.


I have a problem with the mybitcoins gadget

I use it to display my bitcoin balance and convert value to GBP, it's set to display balance and value in 2 lines/boxes.
the conversion is working fine, as if i set the pool adjustment to 1 it shows the value of 1 bitcoin in GBP, but, it's as if it can't get the wallet balance, because with the adjustment set to 0, both the balance and value show N/A

Has something changed/no longer available? or is the problem on my machine, i have tried deleting and re-installing it

I'm still using windows 7 btw, and version 4.4 of the gadget, i also use mycoins (v3.3) to just show the value of 1 bitcoin in GBP with the same conversion api key from currencyconverterapi.com which is working fine.


thank you for your any help that might be available.
sr. member
Activity: 516
Merit: 268
Thanks this sorted the problem of the text not fitting and the cutting off problem, so it is now readable but the scale just too small.  I applied your "pt" settings for 175%

Yeah, I'm sorry mate, I see no easy solution for that. Basically the issue is in IE scaling, that is broken when used with larger DPI in some but not all situations, and to fix that on the gadget side would require working around IE CSS bugs with IE CSS itself, which I'm not up to.

You can perhaps try updating Windows (especially IE/Edge part) and 8GadgetPack, that might help. I'm don't know what's the difference between your and my setup, because on my Win10 this works and scales the gadget up correctly, making it larger without breaking design.
newbie
Activity: 3
Merit: 0
It is set to 175% which is a comfortable size for me. Windows recommended setting is 150%.  Does not seem to matter if I choose 100%, 125%, 150% or 175%, gadget is still cut off.
Except for my windows scaling size of 175%, I also do seperate sizes for my other gadgets to achieve a comfortable, readable size within the 4k resolution:
Top process monitor, System monitor II and Ping monitor is set to 250% within the settings of the gadgets themselves.  Network meter gadget is set to 150% to achieve same size as the other 3 gadgets mentioned, not sure why it is not also 250%

I'll see what can be done over the weekend. There are several issues though, not the least being the quality of the background image...

I'm not quite sure what to do with this, the whole issue is related to various IE incompatibilities. For me, in Win10 and with 8GadgetPack, gadget scales OK. It might be that you just need to update something, probably IE or whatever 8GadgetPack uses to actually run gadgets.

I was able to reproduce an issue in an unpatched Win7 though. Here's a fix that will unbreak it, although it won't scale it. Go to the following folder:

%USERPROFILE%\AppData\Local\Microsoft\Windows Sidebar\Gadgets\MyBitcoins.gadget\css\

...and first backup MyBitcoins.css and then open it in editor other than Notepad that won't display it in a single line (Notepad++ will do fine). Then, search for "pt"; there are 4 places where font sizes are defined and you can change it according to the following table:

100%10pt8.5pt11.5pt
125%8pt6.8pt5.2pt
150%6.6pt5.7pt7.7pt
175%5.7pt4.8pt6.6pt

When you change this, reboot to see the difference. (Just toggling "Show desktop gadgets" off and on might apply changes, but sometimes only reboot works.)

If the white background is still broken and bothers you, you can delete div.valueBackground section as well.


Thanks this sorted the problem of the text not fitting and the cutting off problem, so it is now readable but the scale just too small.  I applied your "pt" settings for 175%
Size of bitcoin gadget relative to my other:
https://i.imgur.com/LfZZi91.png
sr. member
Activity: 516
Merit: 268
It is set to 175% which is a comfortable size for me. Windows recommended setting is 150%.  Does not seem to matter if I choose 100%, 125%, 150% or 175%, gadget is still cut off.
Except for my windows scaling size of 175%, I also do seperate sizes for my other gadgets to achieve a comfortable, readable size within the 4k resolution:
Top process monitor, System monitor II and Ping monitor is set to 250% within the settings of the gadgets themselves.  Network meter gadget is set to 150% to achieve same size as the other 3 gadgets mentioned, not sure why it is not also 250%

I'll see what can be done over the weekend. There are several issues though, not the least being the quality of the background image...

I'm not quite sure what to do with this, the whole issue is related to various IE incompatibilities. For me, in Win10 and with 8GadgetPack, gadget scales OK. It might be that you just need to update something, probably IE or whatever 8GadgetPack uses to actually run gadgets.

I was able to reproduce an issue in an unpatched Win7 though. Here's a fix that will unbreak it, although it won't scale it. Go to the following folder:

%USERPROFILE%\AppData\Local\Microsoft\Windows Sidebar\Gadgets\MyBitcoins.gadget\css\

...and first backup MyBitcoins.css and then open it in editor other than Notepad that won't display it in a single line (Notepad++ will do fine). Then, search for "pt"; there are 4 places where font sizes are defined and you can change it according to the following table:

100%10pt8.5pt11.5pt
125%8pt6.8pt5.2pt
150%6.6pt5.7pt7.7pt
175%5.7pt4.8pt6.6pt

When you change this, reboot to see the difference. (Just toggling "Show desktop gadgets" off and on might apply changes, but sometimes only reboot works.)

If the white background is still broken and bothers you, you can delete div.valueBackground section as well.
sr. member
Activity: 516
Merit: 268
It is set to 175% which is a comfortable size for me. Windows recommended setting is 150%.  Does not seem to matter if I choose 100%, 125%, 150% or 175%, gadget is still cut off.
Except for my windows scaling size of 175%, I also do seperate sizes for my other gadgets to achieve a comfortable, readable size within the 4k resolution:
Top process monitor, System monitor II and Ping monitor is set to 250% within the settings of the gadgets themselves.  Network meter gadget is set to 150% to achieve same size as the other 3 gadgets mentioned, not sure why it is not also 250%

I'll see what can be done over the weekend. There are several issues though, not the least being the quality of the background image...
newbie
Activity: 3
Merit: 0
It is set to 175% which is a comfortable size for me. Windows recommended setting is 150%.  Does not seem to matter if I choose 100%, 125%, 150% or 175%, gadget is still cut off.
Except for my windows scaling size of 175%, I also do seperate sizes for my other gadgets to achieve a comfortable, readable size within the 4k resolution:
Top process monitor, System monitor II and Ping monitor is set to 250% within the settings of the gadgets themselves.  Network meter gadget is set to 150% to achieve same size as the other 3 gadgets mentioned, not sure why it is not also 250%

Screenshot of my sidebar:
https://i.imgur.com/wxQhgLR.png
sr. member
Activity: 516
Merit: 268
I recently got a 4k monitor and are running 4k (3840x2160) and now the gadget seem to not scale properly (edges are cut off - see picture : ).

Would it be possible to add a size option to the settings of the gadget like some other gadgets already have?

Which DPI setting are you using? Right-click on desktop, choose "Screen resolution," and "Make text and other items larger or smaller" - are you using one of the two non-default values here?
newbie
Activity: 3
Merit: 0
Thanks for this useful gadget.
I recently got a 4k monitor and are running 4k (3840x2160) and now the gadget seem to not scale properly (edges are cut off - see picture : https://i.imgur.com/YmtWiZD.png).

Would it be possible to add a size option to the settings of the gadget like some other gadgets already have?

Thanks in advance.
sr. member
Activity: 516
Merit: 268
Pretty much what you said, I have nothing more to add since you solved it.

Gadget doesn't parse |-separated list of addresses (apart from regex to clean it up a bit) and sends it directly to blockchain.info API. Which seems to have switched away to comma as separator instead of | even though documentation says otherwise.

I'm not quite sure what to do with that; I can change the text in settings to different separator but I'll leave it as is for now, since blockchain.info API change looks like a bug on their side and might revert back. I'll try to get in touch with them and report this, and suggest they accept both separators.

Thanks for info.
newbie
Activity: 15
Merit: 0
Awesome gadget, thanks!

Is the feature of listing multiple wallet addresses (separated by |) still working? I tried with v4.4 with 5 addresses. Sometimes it seems to retrieve the balance in only the first address instead of their sum, and other times it just displays "N/A".

(Looking at Settings.js lines 185-186, the blockchainAddr setting gets saved as the |-separated list of addresses. I could not find any corresponding logic in MyBitcoins.js to split this list of addresses by | and query them separately; lines 502-504 seem to query it directly with the |-concatenated list of addresses.)

EDIT: Looks like their API documentation (https://www.blockchain.info/api/q) says |-separated addresses should be supported, but it actually returns Invalid Bitcoin Address when I curl it.

EDIT EDIT: Whoa, apparently ,-separating the addresses works!
full member
Activity: 347
Merit: 100
Due to circumstances beyond my control, I must convert several machines to Windoze 10 (Ugh!). What is the best method/utility for running the gadget on 10? TIA.

I'm probably not the best person to give advice as I'm still running Win7. Maybe the folks using the gadget on Win10 can chip in?

That said, it seems there are at least three alternatives nowadays:
https://windows.gadgethacks.com/how-to/bring-desktop-gadgets-windows-10-0163567/
https://gadgetsrevived.com/download-sidebar/


I personal use https://8gadgetpack.net/.
They still push updates and also they've updated the old gadget with new high dpi versions.

8gadgetpack works nicely. Thanks for the tip.
sr. member
Activity: 432
Merit: 250
Due to circumstances beyond my control, I must convert several machines to Windoze 10 (Ugh!). What is the best method/utility for running the gadget on 10? TIA.

I'm probably not the best person to give advice as I'm still running Win7. Maybe the folks using the gadget on Win10 can chip in?

That said, it seems there are at least three alternatives nowadays:
https://windows.gadgethacks.com/how-to/bring-desktop-gadgets-windows-10-0163567/
https://gadgetsrevived.com/download-sidebar/


I personal use https://8gadgetpack.net/.
They still push updates and also they've updated the old gadget with new high dpi versions.
sr. member
Activity: 516
Merit: 268
Due to circumstances beyond my control, I must convert several machines to Windoze 10 (Ugh!). What is the best method/utility for running the gadget on 10? TIA.

I'm probably not the best person to give advice as I'm still running Win7. Maybe the folks using the gadget on Win10 can chip in?

That said, it seems there are at least three alternatives nowadays:
https://windows.gadgethacks.com/how-to/bring-desktop-gadgets-windows-10-0163567/
https://gadgetsrevived.com/download-sidebar/
full member
Activity: 347
Merit: 100
Thank you, sir. Worked nicely.

Due to circumstances beyond my control, I must convert several machines to Windoze 10 (Ugh!). What is the best method/utility for running the gadget on 10? TIA.
sr. member
Activity: 432
Merit: 250
Still thanks for telling and actually fixing it  Smiley
sr. member
Activity: 516
Merit: 268
Yes, I can confirm it works now as intended on my machine. Do you mind telling me what caused the issue?

A bug in saving exchange data update interval, which was introduced in the latest version, which I inadvertently introduced after testing, while packaging gadget for release. Pretty lame actually. Smiley
sr. member
Activity: 432
Merit: 250
OK, I fixed it. Thanks for reporting it! Please visit http://domchi.cc/mybitcoins/ (or http://domchi.cc/mycoins/) to download the latest version.

Yes, I can confirm it works now as intended on my machine. Do you mind telling me what caused the issue?

Thanks again for fixing.
sr. member
Activity: 516
Merit: 268
OK, I fixed it. Thanks for reporting it! Please visit http://domchi.cc/mybitcoins/ (or http://domchi.cc/mycoins/) to download the latest version.
sr. member
Activity: 432
Merit: 250
Ok here are the results when I have open the litecoin gadget and edit the mycoin gadget:



Every API request is valid but it sends just 100 per second until I get blocked for to many requests.
sr. member
Activity: 516
Merit: 268
Hi here are some answers to your questions.

  • I use fiddler to detect and debug API requests.
  • At the moment I have one instance of each gadget open. 1x Bitcoin, 1x Litecoin and 1x MyCoin

What data would help you to find the source of this issue?

Can you try this? Clear Fiddler log. Open settings of a single gadget, say MyBitcoins. Apply settings - which should refresh all values in that gadget. How many requests do you get in Fiddler, to which servers? Is that in line with your settings?
Pages:
Jump to: