Results 1 to 6 of 6

Thread: no file->print menu for kde applications

  1. #1

    Default no file->print menu for kde applications

    Hi,
    after an upgrade from openSUSE 13.2 to Leap 42.3 I have a problem with KDE applications, e.g. okular, Kate, KWrite: selecting
    Code:
    File->Print ...
    does not result in a print menu, the application hangs and can only be terminated. As a result, printing is impossible from these applications.
    The connected printer is accessible by other means (lpr, from LibreOffice, evince, Seamonkey etc.) without problems, thus I assume that it is a KDE problem.
    According to KInfoCenter I use KDE Plasma 5.8.7, KDE Frameworks 5.32.0, kernel 4.4.87-25 (just as installed by the standard upgrade procedure or provided by online updates).
    How can I solve this problem and get back the print menues to KDE applications?
    What can be done to further test the situation?
    Thanks for any help ...
    Bernd

  2. #2

    Default AW: no file->print menu for kde applications

    Does it help if you start the affected applications like this in Konsole?
    E.g.:
    Code:
    QT_DISABLE_PRINTER_DISCOVERY=1 okular

  3. #3

    Default Re: AW: no file->print menu for kde applications

    Thanks a lot for the quick response.

    Quote Originally Posted by wolfi323 View Post
    Does it help if you start the affected applications like this in Konsole?
    E.g.:
    Code:
    QT_DISABLE_PRINTER_DISCOVERY=1 okular
    Yes, it does (although, since I use the tcsh shell, I need to use the setenv command on the command line for testing).

    Now, I see on https://en.opensuse.org/Portal:42.3/Features that setting the environment variable switches off some Qt5 feature - does this affect other applications? Is the use of a network printer through Qt5 totally impossible then?

    Also, if I set the variable to 1 in /etc/environment (as suggested on https://en.opensuse.org/Portal:42.3/Features), is this permanent or is the file overwritten during updates?

  4. #4

    Default Re: no file->print menu for kde applications

    Quote Originally Posted by BerndSpeiser View Post
    Yes, it does (although, since I use the tcsh shell, I need to use the setenv command on the command line for testing).
    Good.

    You may want to file a bug report at http://bugzilla.opensuse.org/ then though I suppose. (same username and password as here)

    Now, I see on https://en.opensuse.org/Portal:42.3/Features that setting the environment variable switches off some Qt5 feature - does this affect other applications? Is the use of a network printer through Qt5 totally impossible then?
    It only affects Qt5 applications (i.e. most KDE applications).

    And AIUI, it only means *automatic* detection of network printers will be turned off.
    If you configured a remote printer locally, it should still work I think.

    Also, if I set the variable to 1 in /etc/environment (as suggested on https://en.opensuse.org/Portal:42.3/Features), is this permanent or is the file overwritten during updates?
    If you set it in /etc/environment, it will not get overwritten by updates, AFAIK.
    Last edited by wolfi323; 20-Sep-2017 at 12:16. Reason: corrected the bugzilla URL

  5. #5
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,162

    Default Re: no file->print menu for kde applications

    Quote Originally Posted by wolfi323 View Post
    And AIUI, it only means *automatic* detection of network printers will be turned off.
    If you configured a remote printer locally, it should still work I think.
    If you have a remote (shared) printer and also allow Qt to detect network printers the (same) printer appears twice in the KDE/Qt print dialogue.

    https://forums.opensuse.org/showthre...-printer-twice
    Regards, Paul

    Tumbleweed (Snapshot: 20190814) KDE Plasma 5 ~~~
    Non-Tumbling Tumblweed (20150508) KDE 4 - Resurrected
    Leap 15.0 KDE Plasma 5 ~~~ Leap 15.1 KDE Plasma 5 (Work in progress...)

  6. #6

    Default Re: no file->print menu for kde applications

    Quote Originally Posted by wolfi323 View Post
    If you set it in /etc/environment, it will not get overwritten by updates, AFAIK.
    OK, after setting the variable in /etc/environment and rebooting, the print menu appears.

    I'll file a bug report, as you suggested.

    Thanks a lot!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •