elementary / switchboard-plug-printers

Switchboard Printers Plug
GNU General Public License v3.0
12 stars 12 forks source link

Printers Dialog not working and crashing #147

Open selwynorren opened 3 years ago

selwynorren commented 3 years ago

What Happened

After Install Elementary OS 6 Beta 2 (I think this was present in previous daily builds as well) My networked printers are automatically installed. These are set as disabled by default. When I try and delete them (One printer is on the network by does not belong to me) The whole setting panel freezes and I have to force quite to end the process. I can only successfully install network printers via the localhost:631 page.

I am all good with the system detecting the printers, but why are they loaded as disabled? and the moment I delete the one network printer, it always comes back as disabled again.

So Off I head to localhost:631 to delete the printers and I get access forbidden when trying to delete, So this means I am not part of a specific usergroup as what I should be (I think).

Adding a local USB printer via Printer Settings does not work either. Here I also have to resort to localhost:631 and understandably getting the Forbidden error as well

Expected Behavior

Full controll of printers, networked or local, no panel freeze and not have disabled printers attached to my printer list. Once removed they should remain removed. and adding of printers should happen using teh GUI interface

Steps to Reproduce

Install Beta 2 or Daily Snapshot, head over to printer settings and try add/remove printer

Logs

Please advise how best to supply these and where to get them and Ill happily provide

Platform Information

Elementary OS Beta 2 Updated systems as of 06/17/2021 Two network printers (Cannon and HP) Single HPO Local USB Printer

selwynorren commented 3 years ago

Just a quick edit, I discovered that if I close the entire system settings windows and re-open it, then the local usb printer is indeed installed.

After some research I discovered I had to run this commend to make it work in localhost:631 When I tried it again using the GUI it crashed again. sudo usermod -aG lpadmin <username>

jeremypw commented 2 years ago

@selwynorren #159 Should fix the issue with the printer list not updating after adding/removing printers without restarting the Settings app. It should also fix other unresponsiveness issues related to detecting DBus signals from CUPS. This is not released yet however. When it is, please review this issue and close if fixed - thanks.

selwynorren commented 2 years ago

Great thanks, will this be in the next release of eOS?

jeremypw commented 2 years ago

Yes it will be in elementary 7, just not sure whether another 6.1 release will be made.