Bug 493382 - does not list printers to print to, just print to a pdf file
Summary: does not list printers to print to, just print to a pdf file
Status: ASSIGNED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-19 19:54 UTC by dave
Modified: 2024-09-24 18:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
video of the error (235.09 KB, video/webm)
2024-09-20 23:53 UTC, dave
Details
attachment-29000-0.html (1.48 KB, text/html)
2024-09-22 14:00 UTC, dave
Details
info center error (27.41 KB, application/pdf)
2024-09-23 04:37 UTC, dave
Details
attachment-590197-0.html (1.16 KB, text/html)
2024-09-24 05:24 UTC, dave
Details
attachment-615169-0.html (1.65 KB, text/html)
2024-09-24 07:15 UTC, dave
Details
attachment-708102-0.html (947 bytes, text/html)
2024-09-24 13:55 UTC, dave
Details
attachment-783411-0.html (1.62 KB, text/html)
2024-09-24 18:52 UTC, dave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dave 2024-09-19 19:54:40 UTC
SUMMARY
cannot select a printer

STEPS TO REPRODUCE
1. open pdf file
2. Ctrl-P to print
3. Select printer

OBSERVED RESULT
Will not change pdf to printers

EXPECTED RESULT
Show list of printers to print from

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2024-09-20 04:40:48 UTC
Can you please provide additional information, I am not sure what you are trying to report. I have opened a PDF in Okular, pressed Ctrl+P and I can switch between my printer and "Print to file (PDF)" options.

Maybe a screenshot or screen recording would better help illustrate the issue.
Comment 2 dave 2024-09-20 23:53:38 UTC
Created attachment 173926 [details]
video of the error
Comment 3 Justin Zobel 2024-09-22 05:51:43 UTC
Ah so your system printer isn't showing in Okular.

Is Okular from your system repository or is it from Flathub/Snap/Appimage etc?

Can you also please fill out the template so we can see software/hardware info:

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:
Comment 4 dave 2024-09-22 14:00:16 UTC
Created attachment 173962 [details]
attachment-29000-0.html

how do I find the following:
Linux/KDE Plasma:
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:

On Sat, Sep 21, 2024 at 10:51 PM Justin Zobel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=493382
>
> --- Comment #3 from Justin Zobel <justin@kde.org> ---
> Ah so your system printer isn't showing in Okular.
>
> Is Okular from your system repository or is it from Flathub/Snap/Appimage
> etc?
>
> Can you also please fill out the template so we can see software/hardware
> info:
>
> SOFTWARE/OS VERSIONS
> Windows:
> macOS:
> (available in the Info Center app, or by running `kinfo` in a terminal
> window)
> Linux/KDE Plasma:
> KDE Plasma Version:
> KDE Frameworks Version:
> Qt Version:
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 dave 2024-09-22 14:02:55 UTC
I installed it from the system repository.
Comment 6 Justin Zobel 2024-09-23 01:39:57 UTC
As the template suggests: available in the Info Center app, or by running `kinfo` in a terminal window
Comment 7 dave 2024-09-23 04:37:39 UTC
Created attachment 173984 [details]
info center error

pdf of info center error
Comment 8 Luigi Toscano 2024-09-23 12:14:08 UTC
The command is "kinfocenter". But if it's not available, can you please at least write down what's written in the Help -> About Okular menu?
You can get the Okular version (on top) and all the information in the "Components" tab.

Also, which distribution do you use, and which version of the distribution?
Comment 9 dave 2024-09-23 13:34:50 UTC
The following is from: Info Center version: 5.27.11

KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-45-generic (64-bit)
Graphic Platform: Wayland

Ubuntu was downloaded from ubuntu.com
Current version: 24.04.1 LTS
Comment 10 Justin Zobel 2024-09-24 04:00:32 UTC
I reviewed the video of the issue again and noticed that Okular is perhaps installed as a snap. Can you try installing Okular from the Ubuntu repository (non-snap) and see if the issue is the same?
Comment 11 dave 2024-09-24 05:24:54 UTC
Created attachment 174013 [details]
attachment-590197-0.html

I uninstalled it and then installed it from the repository. It now prints.
Finally, thanks.

On Mon, Sep 23, 2024 at 9:00 PM Justin Zobel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=493382
>
> --- Comment #10 from Justin Zobel <justin@kde.org> ---
> I reviewed the video of the issue again and noticed that Okular is perhaps
> installed as a snap. Can you try installing Okular from the Ubuntu
> repository
> (non-snap) and see if the issue is the same?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 12 dave 2024-09-24 07:15:25 UTC
Created attachment 174016 [details]
attachment-615169-0.html

Fixed!

On Tue, Sep 24, 2024 at 12:01 AM Justin Zobel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=493382
>
> Justin Zobel <justin@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>            Assignee|okular-devel@kde.org        |neon-bugs@kde.org
>           Component|printing                    |Snaps
>             Version|24.05.2                     |unspecified
>          Resolution|WAITINGFORINFO              |---
>                  CC|                            |sgmoore@kde.org
>              Status|NEEDSINFO                   |REPORTED
>             Product|okular                      |neon
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 13 Justin Zobel 2024-09-24 07:27:33 UTC
I moved it to the snaps category as while you found a way to print, the issue still exists in the snap package for Okular.
Comment 14 dave 2024-09-24 13:55:45 UTC
Created attachment 174029 [details]
attachment-708102-0.html

Ok, thanks.

On Tue, Sep 24, 2024 at 12:27 AM Justin Zobel <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=493382
>
> --- Comment #13 from Justin Zobel <justin@kde.org> ---
> I moved it to the snaps category as while you found a way to print, the
> issue
> still exists in the snap package for Okular.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 15 Scarlett Moore 2024-09-24 15:19:33 UTC
Please tell me the output of 

snap list okular
snap list cups
Comment 16 dave 2024-09-24 16:01:54 UTC
Scarlett,
Unfortunately I cannot provide your request for I removed the snap version of Okular
and replaced it with Okular from the Ubuntu repository (non-snap).
I get the following:
$ snap list okular
error: no matching snaps installed
$ snap list cups
error: no matching snaps installed
Comment 17 Scarlett Moore 2024-09-24 17:24:53 UTC
(In reply to dave from comment #16)
> Scarlett,
> Unfortunately I cannot provide your request for I removed the snap version
> of Okular
> and replaced it with Okular from the Ubuntu repository (non-snap).
> I get the following:
> $ snap list okular
> error: no matching snaps installed
> $ snap list cups
> error: no matching snaps installed

That was actually helpful, it means cups isn't getting installed and connected so therefore no printing. I know how to proceed, thanks!
Comment 18 dave 2024-09-24 18:52:54 UTC
Created attachment 174041 [details]
attachment-783411-0.html

I'm glad that I was helpful in some way. And thank you for letting me know.
BTW - Okular is a very good product, which is why I tried and tried to get
it to work under "snap".

On Tue, Sep 24, 2024 at 10:24 AM Scarlett Moore <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=493382
>
> --- Comment #17 from Scarlett Moore <sgmoore@kde.org> ---
> (In reply to dave from comment #16)
> > Scarlett,
> > Unfortunately I cannot provide your request for I removed the snap
> version
> > of Okular
> > and replaced it with Okular from the Ubuntu repository (non-snap).
> > I get the following:
> > $ snap list okular
> > error: no matching snaps installed
> > $ snap list cups
> > error: no matching snaps installed
>
> That was actually helpful, it means cups isn't getting installed and
> connected
> so therefore no printing. I know how to proceed, thanks!
>
> --
> You are receiving this mail because:
> You reported the bug.