Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62024 - [sway] jpeg backgrounds are not displayed

Attached to Project: Community Packages
Opened by Tim (xAFFE) - Friday, 15 March 2019, 19:37 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 25 March 2019, 13:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Jerome Leclanche (Adys)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When trying to set a jpeg background I only get a grey background:

swaymsg output '*' bg /home/tschumacher/datenknoten/cloud/bg/iPtjcjZ.jpg fill

Setting a png background works fine:

swaymsg output '*' bg "/home/tschumacher/datenknoten/cloud/bg/409 - lvwizvw.png" fill

In the IRC Channel it was suggested to install gdk-pixbuf2, but that did not help.

Additional info:
* package version: sway 1.0-1

Steps to reproduce:

swaymsg output '*' bg /home/tschumacher/datenknoten/cloud/bg/iPtjcjZ.jpg fill
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 25 March 2019, 13:43 GMT
Reason for closing:  Not a bug
Comment by Alexander F. Rødseth (xyproto) - Monday, 18 March 2019, 08:55 GMT
Hi, thanks for reporting.

I'm unable to reproduce the issue.

When running either:

swaymsg 'output "*" bg some_image.jpg fill'

or:

swaymsg 'output "*" background some_image.jpg fill'

or:

swaymsg output '*' bg some_image.jpg fill

It works correctly here.

Could you try this on another installation of Arch Linux, just to confirm?
Comment by Alexander F. Rødseth (xyproto) - Friday, 22 March 2019, 11:16 GMT
Does it work if you install libjpeg-turbo?
Comment by Tim (xAFFE) - Monday, 25 March 2019, 07:19 GMT
Sorry for the noise, I installed the then latest package and now it works. Previously I had 1.0-1 and then upgraded to 1.0-5. Looking at the changes[1] I think 1.0-2 most likely fixed the issue.

Again, I'm very sorry for not having tried the latest version.

Thanks for your time and effort!

Tim

[1] https://git.archlinux.org/svntogit/community.git/commit/trunk/PKGBUILD?h=packages/sway&id=04e464c639e5e842ee65fcecc9471f300e97355f
Comment by Alexander F. Rødseth (xyproto) - Monday, 25 March 2019, 13:43 GMT
Thanks for caring enough about the sway package to file a bug report, regardless of the validity. I'm happy that it's now working for you.

Loading...