Button size problem on the address book window #1062

issue ghost opened this issue on April 8, 2012
  1. ghost commented at 6:49 PM on April 8, 2012: none

    On Ubuntu 10.04 (with GNOME 2.30) when you click Receive coins > Sign Message > and then the button to open the address book, the buttons at the bottom of the window clearly do not have enough place for the strings. Just take a look at the screenshot (don't worry, the dumb highlighting is mine, but the problem also occurs in English). Bitcoin version: 0.6.0.

    Address book button problem

  2. Diapolo commented at 3:29 PM on June 22, 2012: none

    Can this be solved somehow by shortening the translated strings or is french a language of natively long strings :)?

  3. ghost commented at 5:37 PM on June 29, 2012: none

    On 22/06/12 17:29, Philip Kaufmann wrote:

    Can this be solved somehow by shortening the translated strings or is french a language of natively long strings :)?

    Yes, French sentences are in average longer than... well, most other languages, which makes them good candidates as placeholders (and for headaches when one translates Android apps).

    I could shorten the translated strings a bit but they would look kind of weird (the equivalent of Show QR Code would become just QR Code, "Nouvelle Adresse" would become "Nouv. Adresse"). That said, note that in version 0.6.3, the problem also occurs with English sentences, so IMHO the best way to fix the issue is to modify the geometry of the window (i.e. increase its width).

    Interestingly, I grabbed the tarball of revision 5fa8396 from github and compiled it, and then I was surprised to see that the issue seemed to have been fixed... until I realized I hadn't enabled QR Code support with qmake. In short, with one less button, things look much better so increasing the width of the window should do the trick.

    PS: As described on #1064 a very similar problem also occurs with the splash screen image. A slightly bigger image appended to the bug report fixes the problem, so you may want to commit it until the splash screen is disabled entirely (rev 5fa8396 still has it).

    One man alone can be pretty dumb sometimes, but for real bona fide stupidity, there ain't nothin' can beat teamwork.--Edward Abbey

  4. Diapolo commented at 10:12 PM on June 29, 2012: none

    Is this only present for the address selection window and splash screen or are there other examples that would need a little resize?

  5. ghost commented at 7:38 AM on June 30, 2012: none

    On 30/06/12 00:12, Philip Kaufmann wrote:

    Is this only present for the address selection window and splash screen or are there other examples that would need a little resize?

    IIRC I noticed nothing else with a similar problem when I was clicking frantically on every option Bitcoin has in order to test the French and Turkish translations; otherwise I believe I would have reported them too. I couldn't find anything else with a quick test now either :)

    One man alone can be pretty dumb sometimes, but for real bona fide stupidity, there ain't nothin' can beat teamwork.--Edward Abbey

  6. Diapolo commented at 1:41 PM on June 30, 2012: none

    Are you able to compile Bitcoin-Qt? Can you try this with 720 x 360 Pixel (edit addressbookpage.ui with Qt Designer and set the values on the main QWidget).

  7. ghost commented at 4:27 PM on June 30, 2012: none

    On 30/06/12 15:41, Philip Kaufmann wrote:

    Are you able to compile Bitcoin-Qt? Can you try this with 720 x 360 Pixel (edit addressbookpage.ui with Qt Designer and set the values on the main QWidget).

    As we discussed on IRC, 760 x 380 seems to fix this issue. The result on my desktop is the following: Desktop screenshot with the main and re-sized
windows

    One man alone can be pretty dumb sometimes, but for real bona fide stupidity, there ain't nothin' can beat teamwork.--Edward Abbey

  8. laanwj closed this on Jul 19, 2012

  9. laanwj referenced this in commit 134cb634b1 on Jul 19, 2012
  10. mikehearn referenced this in commit 82169ccbed on Jul 21, 2012
  11. luke-jr referenced this in commit 222ac2b12a on Aug 20, 2012
  12. nifgraup referenced this in commit 817a535ab8 on Mar 30, 2014
  13. nifgraup referenced this in commit cd80891912 on Mar 30, 2014
  14. suprnurd referenced this in commit 6795de7f1a on Dec 5, 2017
  15. sanch0panza referenced this in commit 121f48abed on May 17, 2018
  16. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me