Conversation
|
If the new splash screen will be accepted, i will update the build process so that the splash.png text (version, copyright) gets automatically "written" with imagemagick like the gui about screen. |
|
I like the splash screen. However we should add the version and copyright |
src/qt/bitcoin.qrc
Outdated
There was a problem hiding this comment.
Oops. was auto-removed by Qt Creator. Now readded in d33ff50.
|
@laanwj ACK, I thought the same. We don't want to update that screen with every new year or relase. @jonasschnelli Looks very nice, I like it. |
|
@laanwj @Diapolo as a coder, i would also recommend the option of placing the text on the splashscreen by code. As a designer i would avoid this. Why: text placed by Qt will look much more sharp and somehow crispy. Text placed as image on a template image by imagemagick (or other command-line capable gfx tool) will look much better and can use non-standard fonts. It might sounds crazy for you (coders), but in my eyes, the splash screen is the first contact with the enduser and when it come to the point where the Bitcoin-Qt client gets "mainstream", first contact is very important. That's why i would go with the pre-generated png in the build process with imagemagick. It's more work for us, but more quality for the enduser. And i kind of like this. |
|
Qt supports various text rendering options as well. And TBH it's our time that is very limited at the moment, I really don't mind text quality to be somewhat less for that. |
|
Maybe there's another option: make building the image part of Bitcoin-Qt's build process. That makes it automatic, which is fine with me as well. |
|
@laanwj yes. Include into bitcoin-qt's build process. |
|
@Diapolo would calling imagemagick in the build process work on windows? I suppose it'd be more difficult... |
|
@laanwj i thought the same. Imagemagick is probably a overkill. Has also huge dependencies (Ghostscript, freetype). And yes: windows user would hate me. ;) I think I try to create a solution with qt only (runtime). Will push something soon. |
|
meh. I love the image, but it seems like such a small thing to need to invoke imagemagick for... I'm sure that QT can be made to do this. |
|
Agreed @ gmaxwell. Especially as Qt has a quite advanced rendering backend Let's do this the proper way :) |
|
@laanwj I've never heard of |
|
@jonasschnelli You could use QApplication::applicationName() for the name, but be careful, as it would be |
src/qt/bitcoin.cpp
Outdated
There was a problem hiding this comment.
Currently we have ABOUTDIALOG_COPYRIGHT_YEAR in aboutdialog.cpp, which perhaps could be moved to another location for this to be usable.
There was a problem hiding this comment.
Yes. I saw it. Is there a nice location for this const?
There was a problem hiding this comment.
Perhaps it could be added to clientversion.h, but I'm not sure if we should use that directly in bitcoin.cpp. @laanwj What do you think?
If we would include it, you also had options to generate the version string without the client model (which seems bad, because we HAVE it in clientmodel to not access that stuff directly AFAIK).
Edit: Is it possible to use tr("Copyright") + QString(" © ") + tr("2009-%1 The Bitcoin developers").arg(2013), because we should allow translation and had problems with that copyright sign, if we don't use the HTML tag for it :).
There was a problem hiding this comment.
Agreed. Clientversion.h sounds like the right place, then all the version
and year stuff can be updated in the same place.
There was a problem hiding this comment.
@jonas won't including two large splash images, grow the executable quite a
lot? If so, it's not really worth it for the testnet imo; and putting
"testnet" in the text is enough.
|
|
@jonasschnelli We currently use [testnet] appended to |
There was a problem hiding this comment.
You also once more will need to mention them in the assets file :D.
There was a problem hiding this comment.
Oh.. yeah. Comes also.
|
@laanwj the testnet splash png is 45.37kb. When you compare it against the blockchain size... but yes: it will increase the bin size. I still recommend to have it (the new testnet splash). |
|
I also like the new testnet splash :) and 46KB is fine with me! |
|
I'm fine with 46kB extra. |
|
46k is much less than I had estimated, I'm fine with that. |
|
@jonasschnelli Can you please squash all commits into one after we have the final ACK for this :). |
src/qt/bitcoin.cpp
Outdated
There was a problem hiding this comment.
Can you try if QString(" ") + _("[testnet]") instead of QString(" [testnet]") works please. We have [testnet] already translated [testnet] is a NEW string and for that reason currently untranslated.
There was a problem hiding this comment.
For sure. " [testnet]" is a bad label. Will change that.
why: - the current splash-screen has no referring to official images on https://en.bitcoin.it/wiki/Promotional_graphics - the current splash screen only exists in a low res jpg - current splash screen looks dark and "hackish" - new splash screen should generate positive, "trust-emotions". - new splash screen gives the user infos about the running client. - new splash screen can handle long messages (in a lot of languages the text is cropped in current release) - example: https://dl.dropbox.com/u/7383846/new_bitcoin_splash.png - new size (x2) 400x312 - contains textual information about the client - textinfos are dynamicly written to the image - when -testnet is switch on, the splashscreen will show the bitcoin logo in testnet-color (as well as a text [testnet]) Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
|
squashed and ready to test on Qt4.8. |
|
Pulltester might also do a check... |
…lash_screen Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch> Conflicts: doc/assets-attribution.txt
|
@jonasschnelli I can test for you. Have one comp running 10.7.5 |
|
@fanquake do you can build from the source (take master and pull from jonasschnelli/bitcoin new_splash_screen)? |
src/qt/bitcoin.cpp
Outdated
There was a problem hiding this comment.
I don't think \uXXXX will work in non-gcc compilers such as MSVC. Better use QChar(0xA9) + QString(" ...") .
There was a problem hiding this comment.
sorry for my lack of non-gcc experience. Fixed now.
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
|
Automatic sanity-testing: FAILED BUILD/TEST, see http://jenkins.bluematt.me/pull-tester/66fa5cbaefc7bbf0a5ac48303d72818088c9f04e for binaries and test log. This could happen for one of several reasons:
If you believe this to be in error, please ping BlueMatt on freenode or TheBlueMatt here. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ |
|
Oh... |
|
You can rebase to current master and update this pull, perhaps @BitcoinPullTester was doing it's work with a not up-to-date version :). |
|
I like the splash screen image :) |
|
Same here, I really love it, great looking! Don't think my many comments lower that feeling :) @jonasschnelli . |
src/qt/bitcoin.cpp
Outdated
There was a problem hiding this comment.
Code-wise, I would prefer if you move this stuff to a function or class. The main is already pretty cluttered. Personally I prefer a main function that consists of function/method calls, not logic and rendering code in itself.
There was a problem hiding this comment.
Let me inherit the QSplashScreen and write it more proper to reduce bitcoin.cpp size.
|
@Diapolo my contributions are for the blockchain and not for my ego. :) so keep on finding details to make it better! |
|
Seems to work fine. I haven't checked the code changes, but can you at least squash them? |
|
@sipa: will finish the splash screen soon (1-2 days) then i try to squash. I once pulled/updates from master, ... i think i can't squash over the merge of the master? Can i? |
|
@jonasschnelli it is possible, but more difficult, and not simply with git rebase -i (I think. That's why you should ideally not merge in these cases, but always rebase); easiest may be to start from a new branch with master, then git cherry-pick the non-merge commits. |
|
fresh and clean pull request is #2524 |
|
You can just do a force push to the branch associated with the old pullrequest. You don't have to create a new one. |
|
@sipa: i did a --force push but the "old commits" where still in the commit list. The branch on my github repo was completely different to what i had localy (and pushed with --force). That's why i then restarted the whole thing. Hope you excuse. :) |
|
Yes it's not a problem, he's just saying that in general you never need to re-create a pull request. Force pushing something new will override anything that is currently in the pull request. Sometimes, the old commits stay there for a while ~ 5 minutes but that's just github in the process of updating. |



why: