no way of dismissing the QR Code dialog window #819

issue dooglus opened this issue on February 10, 2012
  1. dooglus commented at 7:36 PM on February 10, 2012: contributor

    In the QT interface I can show the QR Code for addresses but can't then dismiss the QR Code popup window.

    It needs a 'Close' button alongside 'Save As' .

    I expect I could hit escape on the keyboard to get rid of it, but my escape key is broken, and anyway it's not good to have to use the keyboard to dismiss a window that was created using just the mouse.

  2. luke-jr commented at 7:42 PM on February 10, 2012: member

    Most window managers have an "X" at the left or right side of the titlebar.

  3. dooglus commented at 7:47 PM on February 10, 2012: contributor

    I know, right?

    http://i39.tinypic.com/20fxl3m.png

    I don't know if some special effort was made to not have an 'X' on this window, but either way I don't see it.

  4. luke-jr commented at 7:48 PM on February 10, 2012: member

    Odd, it's there for me...

  5. luke-jr commented at 7:48 PM on February 10, 2012: member

    Does the Sign Message dialog have this same problem?

  6. dooglus commented at 7:52 PM on February 10, 2012: contributor

    Yes, it does.

    I'm using Cinnamon version 1.2 -- http://cinnamon.linuxmint.com/

    I notice now that Alt-F4 dismisses the window for me. But would still prefer to have a way of doing it with the mouse.

  7. laanwj commented at 8:47 AM on February 11, 2012: member

    It should be a normal window dismissable with the 'x' in the corner.

    I am spooked why the window has no window manager chrome in your case.

  8. laanwj commented at 5:40 AM on April 3, 2012: member

    I can't reproduce this, and haven't heard any other complaints about it.

    This makes it likely that the problem lies with your window manager (and its interaction with Qt), not bitcoin.

  9. Diapolo commented at 7:48 AM on April 3, 2012: none

    Perhaps we could / should at the possibility to close all windows except the main one, via Esc? Would that be hard to implement?

  10. laanwj commented at 7:57 AM on April 3, 2012: member

    I don't think that'd be hard. I wouldn't be surprised if Qdialog had send-close-event-on-esc behavior built in that can be enabled.

    Otherwise, easiest way would ne to make our own QDialog subclass that has this.

  11. Diapolo commented at 8:08 AM on April 3, 2012: none

    Look at this and search for Escape Key: http://qt-project.org/doc/qt-4.8/QDialog.html It should work already ... at least on Windows it does :), I verified that with the current official 0.6 and my own version.

  12. dooglus commented at 8:56 AM on April 3, 2012: contributor

    It's probably a bug in cinnamon, yes. It's a very young desktop environment, I think it started as a response to GNOME 3 taking away the panels that GNOME 2 users were used to using. I switched to XFCE4 now, and the close icon appears as it should.

    I suggest closing this as "not a bitcoin bug".

  13. Diapolo commented at 4:46 PM on April 3, 2012: none

    You opened this and you can close it :).

  14. dooglus commented at 6:22 PM on April 3, 2012: contributor

    OK then, I guess I will.

  15. dooglus closed this on Apr 3, 2012

  16. destenson referenced this in commit 940035393c on Jun 26, 2016
  17. ptschip referenced this in commit 1d66286b3b on Nov 11, 2017
  18. sipa referenced this in commit 52380bf304 on Oct 14, 2020
  19. 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-13 15:16 UTC

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