Menu

#1790 Ubuntu - Printing broken

KeePass_2.x
closed
nobody
None
5
2018-11-28
2018-11-27
No

Hello,

Problem: Printing and "Print Preview" isn't working.
Step-By-Step:
1) Menu "File" -> "Print..."
Print window opens, but shows only "Note that this preview[...]" with red font color, no preview visible.
2) Clicking on "Page Setup" or "Print Preview" opens an error message: "The .NET framework/runtime under which KeePass is currently running does not support this operation".
Clicking on the "Print..." button opens the same error message but also closes the whole Print window after confirming the message with OK.

I attached a screenshot of the error message.

My system specs:
OS: Ubuntu 18-04.1 LTS (x64)
Kernel: Linux 4.15.0-39-generic
Mono: Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
Keepass: 2.38, 2.40 (tried both)

Best Regards
Florian Schwarz

1 Attachments

Discussion

  • Florian Schwarz

    Florian Schwarz - 2018-11-27

    Sorry for the wrong header. Should be Milestone "KeePass_2.x". Comes from playing with forward and backward navigation from the browser...

     
  • Dominik Reichl

    Dominik Reichl - 2018-11-27
    • status: open --> closed
    • Group: KeePass_1.x --> KeePass_2.x
     
  • Dominik Reichl

    Dominik Reichl - 2018-11-27

    As indicated by the error message, printing is unsupported under Mono (because Mono doesn't implement printing for the WebBrowser control).

    Workaround: export to a HTML file and print this file using a web browser.

    Best regards,
    Dominik

     
  • Florian Schwarz

    Florian Schwarz - 2018-11-27

    So is only "Mozilla Bookmarks HTML" working? Because "Customizable HTML File" is only creating an empty file. And in Bookmarks export I can see no passwords...

    Step-By-Step:
    1) Right clicking the desired group -> "Export..."
    2) Selecting "Customizable HTML File"
    3) Choosing saving location via floppy icon
    4) Clicking "OK" button
    "Export To HTML" window is opening with an empty preview, very similar to the Print window screenshotted above.
    5) Clicking "Export" button
    An empty file (0 Bytes) is created.

     
  • Dominik Reichl

    Dominik Reichl - 2018-11-27

    Ah, I see. I think a workaround can be implemented for this; will try it soon.

    Thanks and best regards,
    Dominik

     
  • Dominik Reichl

    Dominik Reichl - 2018-11-28

    I've implemented a workaround now; the export module 'Customizable HTML File' now works ok with Mono, too (except the preview in the export settings dialog).

    Here's the latest development snapshot for testing:
    https://keepass.info/filepool/KeePass_181128.zip

    Thanks and best regards,
    Dominik

     
  • Florian Schwarz

    Florian Schwarz - 2018-11-28

    Thanks! It's working. :)

     

Log in to post a comment.

MongoDB Logo MongoDB