Bitcoin Forum
May 05, 2024, 12:01:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
Author Topic: [REQUESTS] Minimal Electrum builds for Windows  (Read 47166 times)
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 19, 2012, 09:03:35 PM
 #101

Thats more than I deserve  Roll Eyes

Maybe "Consolas" would be fine, or "DejaVu"? https://en.wikipedia.org/wiki/Samples_of_monospaced_typefaces
I m not sure about the size.

No problem, I don't get such good donations every day... Smiley I don't have DejaVu here, but below is a preview of the GUI with Consolas, size 12. Let me know if you would you like that and I can make the release tomorrow morning.


"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714910487
Hero Member
*
Offline Offline

Posts: 1714910487

View Profile Personal Message (Offline)

Ignore
1714910487
Reply with quote  #2

1714910487
Report to moderator
bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 19, 2012, 10:02:58 PM
 #102

I like it. Size 12 is perfect for me.
Maybe there are other users who prefer that font.

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 20, 2012, 06:55:13 AM
Last edit: May 20, 2012, 11:52:13 AM by flatfly
 #103

I like it. Size 12 is perfect for me.
Maybe there are other users who prefer that font.


The problem is that some versions of XP don't have that font and I'm not sure if
distributing it with my build is allowed.

Here's a temporary link to a quick patch to use Consolas size 12 with your current version of Electrum.

Download that gui_pt.qy file (original code by ThomasV of course), and copy it to this directory:
 %AppData%\Electrum-P\R052\C_\ElectrumPY\electrum

Filesize and MD5 for this patch must be 43,218 bytes and E536A6B53CBD732C5EB570874F2DD01C if you want to verify integrity.

Don't hesitate to let me know if any issues.
bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 21, 2012, 07:49:46 AM
 #104

Many thanks for the "special edition"  Wink
Consolas looks nice, its perfect! It would be great if you could include it (or a similar one) in the Build (size 11 and/or 12 pt). http://www.johndcook.com/blog/2009/09/21/free-alternative-to-consolas-font/
A proposal: Could you make the gui a bit larger?

A donation is on the way.

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 08:30:12 AM
 #105

Many thanks for the "special edition"  Wink
Consolas looks nice, its perfect! It would be great if you could include it (or a similar one) in the Build (size 11 and/or 12 pt). http://www.johndcook.com/blog/2009/09/21/free-alternative-to-consolas-font/
A proposal: Could you make the gui a bit larger?

A donation is on the way.


Great, thanks for your feedback and looking forward to receiving the donation Smiley

I'm not sure how to please everybody regarding font and window size preferences, will
think about what would be the best way to proceed...
 
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 21, 2012, 08:39:33 AM
 #106

I'm not sure how to please everybody regarding font and window size preferences, will
think about what would be the best way to proceed...
maybe we could add it to the list of options?

Electrum: the convenience of a web wallet, without the risks
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 10:27:59 AM
 #107

I'm not sure how to please everybody regarding font and window size preferences, will
think about what would be the best way to proceed...
maybe we could add it to the list of options?

Yes I think that would be great. It would certainly help keep the same source code
for Linux and Windows (currently I have to manually fine-tune gui_qt.py with each build,
to make the GUI look nice on Windows)

Ideally, font type and size would be user options, and window size, position
and column widths could be also saved, if that is feasible for you?

Surely Linux users will appreciate this too, I guess.

ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 21, 2012, 10:31:06 AM
 #108

Ideally, font type and size would be user options, and window size, position
and column widths could be also saved, if that is feasible for you?

sure, I just did not have time to do it myself

Electrum: the convenience of a web wallet, without the risks
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 10:38:46 AM
Last edit: May 21, 2012, 10:49:00 AM by flatfly
 #109

Ideally, font type and size would be user options, and window size, position
and column widths could be also saved, if that is feasible for you?

sure, I just did not have time to do it myself


unfortunately me neither, and I am not yet experienced enough with Python file IO Sad
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 10:50:30 AM
 #110

Many thanks for the "special edition"  Wink
Consolas looks nice, its perfect! It would be great if you could include it (or a similar one) in the Build (size 11 and/or 12 pt). http://www.johndcook.com/blog/2009/09/21/free-alternative-to-consolas-font/
A proposal: Could you make the gui a bit larger?

A donation is on the way.


I'll try to make the GUI a bit larger in the next release already.

Thanks for the donation, it made my day!
bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 21, 2012, 11:28:06 AM
 #111


I'll try to make the GUI a bit larger in the next release already.

Thanks for the donation, it made my day!

Donating at least 1 BTC for downloading the Client should be self-evident.
(E.g. you could place a YouTipit button on your page - http://www.youtipit.org)

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 12:58:12 PM
 #112


I'll try to make the GUI a bit larger in the next release already.

Thanks for the donation, it made my day!

Donating at least 1 BTC for downloading the Client should be self-evident.
(E.g. you could place a YouTipit button on your page - http://www.youtipit.org)

Thanks for the suggestion, I do have a donate link on my page already, but I'll check it out Smiley
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 02:51:55 PM
Last edit: May 21, 2012, 03:27:59 PM by flatfly
 #113

Build 0.52-1 has been released, with a couple minor improvements:

- streamlined command-line: syntax now identical to Linux (no more parentheses)
- fixed occasional wallet restore stalling
- 30% larger main window

[EDIT] Available now!
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
May 21, 2012, 02:54:08 PM
 #114

- fixed occasional wallet restore stalling

can you tell us more about that? is it windows specific? how did you fix it?

Electrum: the convenience of a web wallet, without the risks
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 21, 2012, 03:35:24 PM
 #115

- fixed occasional wallet restore stalling

can you tell us more about that? is it windows specific? how did you fix it?

Yes, it was windows specific. I could fix it without having to touch the electrum code.
There was something wrong with pythonw.exe that was causing it. I managed to remove any
dependencies on pythonw.exe (GUI-only interpreter) from my package and replace
it with the standard python.exe runtime (version 2.7.3.1) with no side-effects.
bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 22, 2012, 08:36:27 AM
 #116

  • ***** gui_qt.py
            self.create_status_bar()
            self.setGeometry(100,100,840,582)
            title = 'Electrum ' + self.wallet.electrum_version # + '  -  ' + self.wallet.path

  • ***** GUI_QT.PY
            self.create_status_bar()
            self.setGeometry(100,100,860,482)
            title = 'Electrum ' + self.wallet.electrum_version # + '  -  ' + self.wallet.path

You didnt change the width that much. I changed it to (100,100,960,582) just to see, and for me it looks better.

The address column is still a bit too small to see the complete row. I also can't see the freeze [F] mark (with font size 12).

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 22, 2012, 09:16:16 AM
 #117

  • ***** gui_qt.py
            self.create_status_bar()
            self.setGeometry(100,100,840,582)
            title = 'Electrum ' + self.wallet.electrum_version # + '  -  ' + self.wallet.path

  • ***** GUI_QT.PY
            self.create_status_bar()
            self.setGeometry(100,100,860,482)
            title = 'Electrum ' + self.wallet.electrum_version # + '  -  ' + self.wallet.path

You didnt change the width that much. I changed it to (100,100,960,582) just to see, and for me it looks better.

Yes, it's quite hard for me to choose the values you would like most, especially as my computer screen is very small, so feel free to experiment Smiley

Quote

The address column is still a bit too small to see the complete row. I also can't see the freeze [F] mark (with font size 12).


The column widths of the receive tab are defined in lines 580-583. You can play around with them till you're happy Smiley  Hopefully the client will soon be able to remember all these preferences automatically.

bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 22, 2012, 09:50:41 AM
Last edit: May 22, 2012, 12:44:01 PM by bitcats
 #118


The column widths of the receive tab are defined in lines 580-583. You can play around with them till you're happy Smiley  Hopefully the client will soon be able to remember all these preferences automatically.
def create_receive_tab(self):
        l = QTreeWidget(self)
        l.setColumnCount(4)
        l.setColumnWidth(0, 380)
        l.setColumnWidth(1, 250)
        l.setColumnWidth(2, 180)
        l.setColumnWidth(3, 20)

Perfect!  Smiley

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
bitcats
Legendary
*
Offline Offline

Activity: 1014
Merit: 1001



View Profile
May 25, 2012, 06:49:04 AM
 #119

Do you know if there is a way to avoid the sending to a random change address? As the change addr is not listed in the gui, you can't see the correct balance after a transaction, you always have to check it with the commands (console).
It would be great if the user could determine his own change address (in the gui), eg. the source addr.

"Unser Problem ist nicht ziviler Ungehorsam, unser Problem ist ziviler Gehorsam."  - Howard Zinn
flatfly (OP)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
May 25, 2012, 07:15:47 AM
 #120

Do you know if there is a way to avoid the sending to a random change address? As the change addr is not listed in the gui, you can't see the correct balance after a transaction, you always have to check it with the commands (console).
It would be great if the user could determine his own change address (in the gui), eg. the source addr.

Hi,
to my knowledge, there is currently no way of specifying a preferred change address.
I don't even know if this is possible within the bitcoin protocol, perhaps ThomasV can comment on that?

But regardless, you should always see the correct global balance in the GUI. Otherwise, it could be
a display bug. Can you post a screenshot of a specific example where the balance is not correct?
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!