Skip to content

Conversation

@jonasschnelli
Copy link
Contributor

I cumulate changes to avoid having to many PRs:

  1. I resized the transaction icon in the overview page a little bit and changed the amount of transaction from 3 to 5. Otherwise there is always blank space at the bottom.
  2. To avoid the double frame issue in sendcoins / sendcoinsentry (recipient box) i replace the inner frame with a horizontal line.
  3. Use warning icons instead of "(out of sync)" text in overview page
  4. Don't colorize icons on win/mac

EDIT: added point 4

bildschirmfoto 2015-05-06 um 14 08 44

bildschirmfoto 2015-05-06 um 14 09 01

bildschirmfoto 2015-05-06 um 14 19 37

bildschirmfoto 2015-05-06 um 14 08 53

bildschirmfoto 2015-05-06 um 14 06 32

bildschirmfoto 2015-05-06 um 14 19 50

Screens from current master

Double frame issue:
bildschirmfoto 2015-05-06 um 14 09 45

Empty space:
bildschirmfoto 2015-05-06 um 14 09 40

@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch 7 times, most recently from 2842318 to fd2571d Compare May 6, 2015 14:45
@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch from fd2571d to 41bb4ce Compare May 6, 2015 14:47
@jonasschnelli
Copy link
Contributor Author

Added another change on the top (cumulating changes to avoid another blizzard of PRs):

  • use warning icons instead of "(out of sync)" text.

Looks like:
bildschirmfoto-2015-05-06-um-16 49 26

bildschirmfoto-2015-05-06-um-16 50 25

@ddehueck
Copy link

ddehueck commented May 6, 2015

This looks really good. The only suggestions I have would be to make the icon red and the tooltip state that the synchronization process could take awhile if the user is synchronizing for the first time. Thoughts?

@jonasschnelli
Copy link
Contributor Author

@essofluffy: IMO red is the color of errors. Yellow would be appropriate. But since i started with black, flat icons (#5219) i would say black is fine and it would avoid rainbow color software.

@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch 5 times, most recently from b8a068b to 81649a2 Compare May 6, 2015 15:33
@ddehueck
Copy link

ddehueck commented May 6, 2015

@jonasschnelli That PR had some good discussion so I'll concede on the color of the icon. Black will work just fine.

@jonasschnelli
Copy link
Contributor Author

Added another commit:

  • use always black icons on Mac and Win

@jonasschnelli jonasschnelli changed the title [QT] minor UI updates (amount of transactions in overview and sendcoinsentry frame) [QT] minor UI updates May 6, 2015
@ghost
Copy link

ghost commented May 6, 2015

utAck, I like tooltips for verbiage, but the icon looks really blended in with the text, I'm not sure a user would notice it has additional information if hovered over.

@ddehueck
Copy link

ddehueck commented May 6, 2015

@jonasschnelli Did you make these icons?

@jonasschnelli
Copy link
Contributor Author

Did you make these icons?

@essofluffy: no, check: https://github.com/jonasschnelli/bitcoin/blob/2015/05/qt_polish_1/doc/assets-attribution.md#typiconsstephen-hutchings

[...] I'm not sure a user would notice it has additional information if hovered over.

I have to agree. Placing the text "(out of sync)" next to the icon would be a option. Other ideas?

@ghost
Copy link

ghost commented May 7, 2015

I have to agree. Placing the text "(out of sync)" next to the icon would be a option. Other ideas?

Typically the visual cue i look for in a tooltip is a little (?) but i think this tooltip "cue" can really be basically anything.. dashed underlines i've seen before too.

@ddehueck
Copy link

ddehueck commented May 7, 2015

Maybe something like, (out of sync, hover for more info)?

@sipa
Copy link
Member

sipa commented May 8, 2015

Concept ACK

@jonasschnelli
Copy link
Contributor Author

@essofluffy @faizkhan00 : i don't think we should tell the user "hover for more information". It's somehow uncommon.
I think the current solution is almost okay. What it misses if a reaction when you click on the new "warning" icon. There ist should open a alert with the out of since information text (same as tooltip). I'll try to add this soon.

@ghost
Copy link

ghost commented May 8, 2015

@jonasschnelli Hmm, yeah looking over the images I think this is reasonable too, I'm correct in assuming those icons disappear once the blockchain is fully synced up, as well?

@ddehueck
Copy link

ddehueck commented May 8, 2015

@faizkhan00 your assumption would be correct.

@jonasschnelli
Copy link
Contributor Author

@fanquake: would you agree with 3) if the icon would be clickable then showing a info-alert with the extended out-of-sync information?

What about 4)? (#6110 (comment))

@laanwj
Copy link
Member

laanwj commented May 11, 2015

ACK

@fanquake
Copy link
Member

@jonasschnelli ACK 4 as well. If consensus is that 3 is an improvement, then lets get this merged.

@luke-jr
Copy link
Member

luke-jr commented May 12, 2015

Concept ACK

Significant issue: point 2 results in less recipients visible in sendcoins dialog.

Nits/preferred changes:

  • Overview recent txs should grow with window size.
  • Warning icon maybe ought to be red?

@laanwj
Copy link
Member

laanwj commented May 12, 2015

@luke-jr Icon color has been already discussed above, IMO it's fine like this. It is not a very dangerous warning, we don't want to unnecessarily light up the overview page like a christmas tree.

@jonasschnelli
Copy link
Contributor Author

@luke-jr

Significant issue: point 2 results in less recipients visible in sendcoins dialog.

The new sendcoinsentries are some pixels higher. But it depends on you window height. So i think this is not very urgent.

Overview recent txs should grow with window size.

Agreed. But this would be a different PR

Warning icon maybe ought to be red?

As @laanwj said. See above. IMO red makes only sense for errors.

@laanwj laanwj added the GUI label May 12, 2015
@luke-jr
Copy link
Member

luke-jr commented May 12, 2015

@jonasschnelli I don't get the point of making sendcoinsentry taller. It doesn't depend on window height - no matter what height is used, less now fits in it.

@jonasschnelli
Copy link
Contributor Author

@luke-jr: Okay. The top/bottom margin could be better. I try to solve it and will see if i get ~the same height.

@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch from 81649a2 to 66ee4b6 Compare May 12, 2015 18:36
@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch from 66ee4b6 to 093ed95 Compare May 12, 2015 18:46
@jonasschnelli
Copy link
Contributor Author

@luke-jr: I did optimize the sendcoinsentry height. Check the comparison screenshot (open the image url in a new tab/window to get full resolution).

bildschirmfoto-2015-05-13-um-13 07 10

I hope this PR makes it into 0.11!

@luke-jr
Copy link
Member

luke-jr commented May 13, 2015

Tested ACK

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this will cause code-unreachable warnings, may be better to #else #ifdef the rest of the function, same for SingleColorIcon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. It's kinda stupid to try to compile code after return.

Fixed.

@jonasschnelli jonasschnelli force-pushed the 2015/05/qt_polish_1 branch from 093ed95 to ca5f688 Compare May 13, 2015 18:27
@laanwj laanwj merged commit ca5f688 into bitcoin:master May 14, 2015
laanwj added a commit that referenced this pull request May 14, 2015
ca5f688 [QT] don't colorize icons on win and mac (Jonas Schnelli)
7247d10 [QT] use alert icon with tooltip insted of "(out of sync)" text (Jonas Schnelli)
51c7c70 [QT] remove frame to avoid double-frame situation in sendcoinsentry.ui (Jonas Schnelli)
2a6b844 [QT] change transaction amount and height in overview page (Jonas Schnelli)
@laanwj
Copy link
Member

laanwj commented May 15, 2015

Posthumous nit: the warning icon doesn't get the color of the other single-color icons, it is black even on Linux

@jonasschnelli
Copy link
Contributor Author

Oh. Right. Will fix this.

@luke-jr
Copy link
Member

luke-jr commented May 15, 2015

@laanwj I wouldn't expect it to? Looks like it really ought to be a considered part of the text now. :)

@laanwj
Copy link
Member

laanwj commented May 16, 2015

@luke-jr Fine with me. But then it should color with the text, currently it is always black.

@luke-jr
Copy link
Member

luke-jr commented May 16, 2015

Oh, I forgot sometimes text isn't black :)

I wonder if we should just make a font for our single-colour icons at this point? (assuming Qt lets you use Unicode characters for icons... which it might not)

@laanwj
Copy link
Member

laanwj commented May 16, 2015

Using a font for the icons would be a neat and modern solution. Could put the icons in the Private Use Area, and use them accordingly in (rich)text. I also proposed it in the beginning when the single-color-icons were introduced. Technically it could be somewhat more of a challenge, though - I don't know Qt-Custom-Font-Handling specifics. No desperate need though, that's the realm of 'far future would be nice'. E.g. no more custom code would be needed to color the icons.

@jonasschnelli
Copy link
Contributor Author

Most of the "new" icons are available as font (typicon font). But handling a font on three platform is probably much more complex the handling PNG files.
A font would be really nice because it's vector based. On the other hand it could introduce antialiasing issues (blurring) different margin/paddings on different systems. IMO a font would probably add more issues then I potentially could solve.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants