Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: KDE Print Dialogue reverts to "default" settings when re-opened.

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

    Default KDE Print Dialogue reverts to "default" settings when re-opened.

    When the "Printer Properties -> Page" is first opened from the Print Dialogue it is populated with (what I assume) are default settings, for example left/right/top/bottom margins.

    If I change those to what I require, close the dialogue and print, the next time "Printer Properties -> Page" is opened the settings have reverted back to the "default". This is irrespective of the printer selected, so are not printer defaults.

    This was not the behaviour under KDE4, once changed, the settings remained until one changed them again.

    It is, to say the least, somewhat annoying to have to set the print margins every time one wishes to print.

    Is this a genuine bug, or am I doing "something" wrong?

    Also, if a bug, what component should the bug report be against?

    Or is this now a "Qt Thing" in the same way as the "Advanced Tab" vanished? ( https://bugreports.qt.io/browse/QTBUG-54464 )
    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...)

  2. #2
    Join Date
    Mar 2009
    Location
    Sydney AU
    Posts
    147

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Quote Originally Posted by tannington View Post
    When the "Printer Properties -> Page" is first opened from the Print Dialogue it is populated with (what I assume) are default settings, for example left/right/top/bottom margins.

    If I change those to what I require, close the dialogue and print, the next time "Printer Properties -> Page" is opened the settings have reverted back to the "default". This is irrespective of the printer selected, so are not printer defaults.

    This was not the behaviour under KDE4, once changed, the settings remained until one changed them again.

    It is, to say the least, somewhat annoying to have to set the print margins every time one wishes to print.

    Is this a genuine bug, or am I doing "something" wrong?

    Also, if a bug, what component should the bug report be against?

    Or is this now a "Qt Thing" in the same way as the "Advanced Tab" vanished? ( https://bugreports.qt.io/browse/QTBUG-54464 )
    I can't offer technical advice on this but I can confirm the problem.
    My (dumb user) take on this is that yes, it seems to be a QT thing - QT started with mobile phones, so persistence was not of utmost importance to those developers, they wanted (and got) a clean instance created fast and on the fly. So fixing persistence issues with QT was/is not so easy. The same issue arose with the birth of KDE4. At first minor print issues like this were drowned out by loud objections to the many other functional 'downgrades' from KDE3 - so it goes. It took a long time for users to get a fix because ... it's complex. The bug reports were user specific (ie. ignorant of the underlying engineering issues), they related to many different print problems with many different KDE software projects and were filed on different 'bug lists' in an uncordinated way. It was unclear which team should act so the issue bounced around the different silos for quite a while: project developers <> openSUSE <> KDE <> QT - you know the story. So it took a few years for someone (bless them) to pull it together, set a target (QT), write a patch and make it 'really easy' for QT to fix it. There was a rumour that a SUSE developer was involved. I guess SLES needs a working printer. I do hope that person is still around. They won't be reading this. They may need a few good bug reports from 'big client' admins, linked and posted to openSUSE, SLES, KDE and QT lists and quite a few 'me too' user follow-ups.
    In the mean time the 'tab' key is your friend. With it you can reduce a possible 24 keystrokes to correct a default print margin (4.26mm !!) to about 12 keystrokes.
    Hope this helps.

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

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Quote Originally Posted by Tallowwood View Post
    ... In the mean time the 'tab' key is your friend. With it you can reduce a possible 24 keystrokes to correct a default print margin (4.26mm !!) to about 12 keystrokes.
    Hope this helps.
    At least I know it's not "just me" - Thanks.

    I was of the impression it would probably be down to a "Qt Thing" ...

    I'm stunned that something as basic as a print dialogue to fully control a printer takes such low precedence, but, hey, I'm just a dumb user also...

    This thread: http://lists.qt-project.org/pipermai...ry/028597.html from the Qt bug report I linked to with regard to no "Advanced Tab", makes for rather disappointing reading.

    To quote just a small fragment:

    > 1) Are there (concrete) plans for the next steps considering the Qt print dialog?

    Currently there are none as, to my knowledge, no one is working on the print dialog specifically.
    That was back in January 2017 - It does improve (very) slightly as the thread progresses, but I'm not holding my breath.
    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...)

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,173
    Blog Entries
    1

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    As you've found the desktop printing options are not persistent. If you want settings to be persistent, you can do that via the CUPS web interface
    http://localhost:631/printers

    Select the printer > Administration > Choose Default Options

    You can also add another printer queue with specific printing options set for different situations. For example, full colour vs grayscale printing.

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

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Quote Originally Posted by deano_ferrari View Post
    ... If you want settings to be persistent ...
    Yes, but...

    I don't know where KDE/Qt is obtaining it's "default" margin settings from, but it's not the printer driver defaults, as the "defaults" are identical irrespective of the printer selected (including Print to File).

    If I change the (driver) default margin settings (which I can only do for the HP, the Samsung has no settings for that), using either "YaST -> Printer Configuration -> (Select Printer) -> Edit -> All options for current driver -> (Margins)", or via the CUPS web interface, the KDE/Qt Print Dialogue still shows it's "default"; and, it is those settings that are used (unless changed there) when printing.

    This is what I'm always presented with upon first opening of the print dialogue...

    http://paste.opensuse.org/view/raw/a558dae3
    http://paste.opensuse.org/view/raw/e6b7440f

    ... and it is those settings that are applied, if I change the margins there it will print with those settings. Re-open the print dialogue and it reverts back as shown in the screenshots.

    Both printers are connected, available, and work... (The HP is directly connected via the parallel port, the Samsung is a network printer).

    This is on TW (20170816), Plasma 5.10.4, KDE Frameworks 5.36.0, Qt 5.9.1
    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
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,173
    Blog Entries
    1

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Thanks for the further clarification. Although I'm using KDE Plasma 5, I don't often print via KDE applications. At the most the occasional firefox page printed, and sometimes direct from the command line, so I can see how this would be annoying. I guess an options specified in ~/.cups/lpoptions are ignored as well?

    I assume that the Qt margins are likely hard-coded.

  7. #7
    Join Date
    Jan 2016
    Location
    UK
    Posts
    566

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    There is a lot of stuff hard coded in QT printing support, like the list of paper sizes for example. See https://bugreports.qt.io/browse/QTBUG-58733 for the bug report. No one in QT seems to be the slightest bit interested in fixing these issues. This one stops me from printing on certain printer supported sizes which are not standard. It affects all applications using QT.

    Stuart

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,173
    Blog Entries
    1

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Quote Originally Posted by broadstairs View Post
    There is a lot of stuff hard coded in QT printing support, like the list of paper sizes for example. See https://bugreports.qt.io/browse/QTBUG-58733 for the bug report. No one in QT seems to be the slightest bit interested in fixing these issues. This one stops me from printing on certain printer supported sizes which are not standard. It affects all applications using QT.

    Stuart
    Yes, I recall that 'bug'. It's incomprehensible (to me at least) that they don't utilise the relevant info from CUPS or even perhaps at least save/use printing preferences in ~/.cups/lpoptions.

  9. #9
    Join Date
    Mar 2009
    Location
    Sydney AU
    Posts
    147

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    Some more related QT bug reports

    QPrinter and QPrintDialog on UNIX should query CUPS for options before the user presses Properties
    QTBUG-6239

    QPrinter default margins
    QTBUG-27692

    QtPrintSupport - Page Layout Issues (consolidated list)
    QTBUG-25380

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

    Default Re: KDE Print Dialogue reverts to "default" settings when re-opened.

    I've just looked at a system which is running Kate Version 3.14.7 using KDE Platform 4.14.7

    It seems it is kate itself which is saving the margin settings, following snippet from "~/.kde4/share/config/katerc"

    Code:
    [Kate Print Settings][Margins]
    bottom=10
    left=25
    right=10
    top=10
    Thinking about it for only a moment, it would make sense that individual (KDE) applications maintained their own settings. Question now is, why is that no longer the case, at least with kate, I've yet to investigate others...

    Looking at "~/.config/katerc" on both a Leap 42.3 and TW system there are no "Kate Print Settings" and if that section is added it is, as I expected it to be, ignored.

    I feel a kate, bug report, regression, wish, whatever coming on ...
    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...)

Page 1 of 3 123 LastLast

Posting Permissions

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