Some wallpapers are displayed as black backgrounds in kde

Bug #1589790 reported by Abhishek Bhatia on 2016-06-07
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Variety
Medium
Unassigned

Bug Description

For example this one https://www.reddit.com/r/MinimalWallpaper/comments/4c2vf6/daft_punk_1920x1080/
I am using kde 5.4 and kubuntu 16.04 variety .60

LOG:
abhishek ~ $ variety -v
/usr/lib/python2.7/dist-packages/variety/__init__.py:105: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GObject # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/VarietyWindow.py:25: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk, GdkPixbuf, GObject, Gio, Notify # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/AddPanoramioDialog.py:19: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, WebKit, GObject # pylint: disable=E0611
/usr/lib/python2.7/dist-packages/variety/QuoteWriter.py:19: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gdk, Pango, PangoCairo, GdkPixbuf, GObject
/usr/lib/python2.7/dist-packages/variety/indicator.py:28: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 # pylint: disable=E0611
INFO: 2016-06-07 09:27:19,306: perform_upgrade() 'Last run version was 0.6.0 or earlier, current version is 0.6.0'
INFO: 2016-06-07 09:27:19,307: process_command() 'Received command: [u'-v']'
INFO: 2016-06-07 09:27:19,309: load_banned() 'Missing or invalid banned URLs list, no URLs will be banned'
DEBUG: 2016-06-07 09:27:19,310: get_desktop_wallpaper() 'Running get_wallpaper script'
INFO: 2016-06-07 09:27:19,318: load() 'Jumble loading'
INFO: 2016-06-07 09:27:19,318: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/__init__.py'
INFO: 2016-06-07 09:27:19,318: _walk_modules() 'Jumble loading module in LocalFilesSource from /usr/share/variety/plugins/quotes/LocalFilesSource.py'
INFO: 2016-06-07 09:27:19,319: load() 'Jumble found plugin class: <class 'LocalFilesSource.LocalFilesSource'>: {'author': 'Peter Levi', 'name': 'Local text files', 'version': '0.1', 'description': u'Displays quotes, defined in local text files.\nPut your own txt files in: ~/.config/variety/pluginconfig/quotes/.\nThe file format is:\n\nquote -- author\n.\nsecond quote -- another author\n.\netc...\n\nExample: http://rvelthuis.de/zips/quotes.txt'}'
INFO: 2016-06-07 09:27:19,319: _walk_modules() 'Jumble loading module in QuotesDaddySource from /usr/share/variety/plugins/quotes/QuotesDaddySource.py'
INFO: 2016-06-07 09:27:19,319: load() 'Jumble found plugin class: <class 'QuotesDaddySource.QuotesDaddySource'>: {'author': 'Peter Levi', 'name': 'QuotesDaddy', 'version': '0.1', 'description': u"Fetches quotes from QuotesDaddy's daily quotes RSS feed.\nDoes not support searching by tags or authors."}'
INFO: 2016-06-07 09:27:19,319: _walk_modules() 'Jumble loading module in QuotationsPageSource from /usr/share/variety/plugins/quotes/QuotationsPageSource.py'
INFO: 2016-06-07 09:27:19,324: load() 'Jumble found plugin class: <class 'QuotationsPageSource.QuotationsPageSource'>: {'author': 'Peter Levi', 'name': 'TheQuotationsPage.com', 'version': '0.1', 'description': u'Fetches quotes from TheQuotationsPage.com'}'
INFO: 2016-06-07 09:27:19,324: _walk_modules() 'Jumble loading module in __init__ from /usr/share/variety/plugins/quotes/__init__.py'
INFO: 2016-06-07 09:27:19,324: _walk_modules() 'Jumble loading module in GoodreadsSource from /usr/share/variety/plugins/quotes/GoodreadsSource.py'
INFO: 2016-06-07 09:27:19,324: load() 'Jumble found plugin class: <class 'GoodreadsSource.GoodreadsSource'>: {'author': 'Peter Levi', 'name': 'Goodreads', 'version': '0.1', 'description': u'Fetches quotes from Goodreads.com'}'
INFO: 2016-06-07 09:27:19,325: load_user() 'smart: Loaded smart user: c616h9zb4j'
INFO: 2016-06-07 09:27:19,327: reload_config() 'Creating new downloader for type 19, location Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'
INFO: 2016-06-07 09:27:19,327: reload_config() 'Creating new downloader for type 15, location Bing Photo of the Day'
INFO: 2016-06-07 09:27:19,328: reload_config() 'Creating new downloader for type 14, location https://www.reddit.com/r/MinimalWallpaper/top/?sort=top&t=year'
INFO: 2016-06-07 09:27:19,329: reload_config() 'Creating new downloader for type 7, location user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'
INFO: 2016-06-07 09:27:19,329: reload_config() 'Creating new downloader for type 5, location http://www.wallpapers.net/nature-hd-wallpapers78'
INFO: 2016-06-07 09:27:19,329: reload_config() 'Creating new downloader for type 13, location macro'
INFO: 2016-06-07 09:27:19,329: reload_config() 'Creating new downloader for type 13, location tilt shift'
INFO: 2016-06-07 09:27:19,330: log_options() 'Loaded options:'
INFO: 2016-06-07 09:27:19,330: log_options() 'change_enabled = True'
INFO: 2016-06-07 09:27:19,330: log_options() 'change_interval = 1200'
INFO: 2016-06-07 09:27:19,330: log_options() 'change_on_start = False'
INFO: 2016-06-07 09:27:19,330: log_options() 'clipboard_enabled = False'
INFO: 2016-06-07 09:27:19,330: log_options() 'clipboard_hosts = [u'wallbase.cc', u'ns223506.ovh.net', u'wallpapers.net', u'flickr.com', u'imgur.com', u'deviantart.com', u'interfacelift.com', u'vladstudio.com', u'imageshack.us']'
INFO: 2016-06-07 09:27:19,330: log_options() 'clipboard_use_whitelist = True'
INFO: 2016-06-07 09:27:19,330: log_options() 'clock_date_font = Ubuntu Condensed, 30'
INFO: 2016-06-07 09:27:19,330: log_options() 'clock_enabled = False'
INFO: 2016-06-07 09:27:19,330: log_options() 'clock_filter = -density 100 -font `fc-match -f '%{file[0]}' '%CLOCK_FONT_NAME'` -pointsize %CLOCK_FONT_SIZE -gravity SouthEast -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+108] '%H:%M' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+110] '%H:%M' -font `fc-match -f '%{file[0]}' '%DATE_FONT_NAME'` -pointsize %DATE_FONT_SIZE -fill '#00000044' -annotate 0x0+[%HOFFSET+58]+[%VOFFSET+58] '%A, %B %d' -fill white -annotate 0x0+[%HOFFSET+60]+[%VOFFSET+60] '%A, %B %d''
INFO: 2016-06-07 09:27:19,331: log_options() 'clock_font = Ubuntu Condensed, 70'
INFO: 2016-06-07 09:27:19,331: log_options() 'configfile = /home/abhishek/.config/variety/variety.conf'
INFO: 2016-06-07 09:27:19,331: log_options() 'copyto_enabled = True'
INFO: 2016-06-07 09:27:19,331: log_options() 'copyto_folder = Default'
INFO: 2016-06-07 09:27:19,331: log_options() 'desired_color = [160, 160, 160]'
INFO: 2016-06-07 09:27:19,331: log_options() 'desired_color_enabled = False'
INFO: 2016-06-07 09:27:19,331: log_options() 'download_enabled = True'
INFO: 2016-06-07 09:27:19,331: log_options() 'download_folder = /home/abhishek/.config/variety/Downloaded'
INFO: 2016-06-07 09:27:19,331: log_options() 'download_interval = 1500'
INFO: 2016-06-07 09:27:19,331: log_options() 'facebook_message = '
INFO: 2016-06-07 09:27:19,331: log_options() 'facebook_show_dialog = True'
INFO: 2016-06-07 09:27:19,331: log_options() 'favorites_folder = /home/abhishek/.config/variety/Favorites'
INFO: 2016-06-07 09:27:19,331: log_options() 'favorites_operations = [[u'Downloaded', u'Copy'], [u'Fetched', u'Move'], [u'Others', u'Copy']]'
INFO: 2016-06-07 09:27:19,331: log_options() 'fetched_folder = /home/abhishek/.config/variety/Fetched'
INFO: 2016-06-07 09:27:19,331: log_options() 'filters = [[False, u'Keep original', u''], [False, u'Grayscale', u'-type Grayscale'], [False, u'Heavy blur', u'-blur 120x40'], [False, u'Soft blur', u'-blur 20x7'], [False, u'Oil painting', u'-paint 8'], [False, u'Pencil sketch', u'-colorspace gray \\( +clone -tile ~/.config/variety/pencil_tile.png -draw "color 0,0 reset" +clone +swap -compose color_dodge -composite \\) -fx \'u*.2+v*.8\''], [False, u'Pointilism', u'-spread 10 -noise 3'], [False, u'Pixellate', u'-scale 3% -scale 3333%']]'
INFO: 2016-06-07 09:27:19,331: log_options() 'icon = Light'
INFO: 2016-06-07 09:27:19,331: log_options() 'lightness_enabled = False'
INFO: 2016-06-07 09:27:19,331: log_options() 'lightness_mode = 0'
INFO: 2016-06-07 09:27:19,332: log_options() 'min_rating = 4'
INFO: 2016-06-07 09:27:19,332: log_options() 'min_rating_enabled = False'
INFO: 2016-06-07 09:27:19,332: log_options() 'min_size = 100'
INFO: 2016-06-07 09:27:19,332: log_options() 'min_size_enabled = True'
INFO: 2016-06-07 09:27:19,332: log_options() 'quota_enabled = True'
INFO: 2016-06-07 09:27:19,332: log_options() 'quota_size = 500'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_authors = '
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_bg_color = [80, 80, 80]'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_bg_opacity = 55'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_change_enabled = False'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_change_interval = 300'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_disabled_sources = [u'QuotesDaddy']'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_enabled = False'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_favorites_file = /home/abhishek/.config/variety/favorite_quotes.txt'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_font = Bitstream Charter 30'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_hpos = 100'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_tags = '
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_text_color = [255, 255, 255]'
INFO: 2016-06-07 09:27:19,332: log_options() 'quotes_text_shadow = False'
INFO: 2016-06-07 09:27:19,333: log_options() 'quotes_vpos = 40'
INFO: 2016-06-07 09:27:19,333: log_options() 'quotes_width = 70'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_custom_enabled = False'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_custom_folder = None'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_downloads_enabled = False'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_fade = 0.4'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_favorites_enabled = True'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_mode = Fullscreen'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_monitor = All'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_pan = 0.05'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_seconds = 6.0'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_sort_order = Random'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_sources_enabled = True'
INFO: 2016-06-07 09:27:19,333: log_options() 'slideshow_zoom = 0.2'
INFO: 2016-06-07 09:27:19,333: log_options() 'smart_enabled = True'
INFO: 2016-06-07 09:27:19,333: log_options() 'smart_notice_shown = True'
INFO: 2016-06-07 09:27:19,333: log_options() 'smart_register_shown = True'
INFO: 2016-06-07 09:27:19,333: log_options() 'sources = [[True, 3, u'The Favorites folder'], [True, 4, u'The Fetched folder'], [True, 19, u'Recommended by Variety. Adapts to your taste as you mark images as favorite or trash.'], [False, 20, u'Latest favorites by the other users of Variety. [May contain NSFW images]'], [True, 2, u'/usr/share/backgrounds'], [False, 6, u'Random wallpapers from Desktoppr.co'], [True, 15, u'Bing Photo of the Day'], [False, 16, u'High-resolution photos from Unsplash.com'], [False, 8, u"NASA's Astronomy Picture of the Day"], [False, 11, u'World Sunlight Map - live wallpaper from Die.net'], [True, 14, u'https://www.reddit.com/r/MinimalWallpaper/top/?sort=top&t=year'], [False, 10, u'https://vrty.org/user/~peterlevi/rss'], [True, 7, u'user:www.flickr.com/photos/peter-levi/;user_id:93647178@N00;'], [False, 7, u'text:colorful;user:www.flickr.com/photos/pinksherbet/;user_id:40645538@N00;'], [False, 7, u'user:www.flickr.com/photos/isayx3/;user_id:52821721@N00;'], [True, 5, u'http://www.wallpapers.net/nature-hd-wallpapers78'], [False, 13, u'autumn'], [False, 13, u'nature'], [True, 13, u'macro'], [False, 13, u'leaves'], [False, 13, u'cityscape'], [True, 13, u'tilt shift'], [False, 13, u'bokeh']]'
INFO: 2016-06-07 09:27:19,333: log_options() 'stats_enabled = True'
INFO: 2016-06-07 09:27:19,334: log_options() 'stats_notice_shown = True'
INFO: 2016-06-07 09:27:19,334: log_options() 'sync_enabled = True'
INFO: 2016-06-07 09:27:19,334: log_options() 'use_landscape_enabled = True'
INFO: 2016-06-07 09:27:19,334: reload_config() 'No need to clear prepared queue'
INFO: 2016-06-07 09:27:19,334: load_last_change_time() 'Change interval < 6 hours, ignore persisted last_change_time, wait initially the whole interval: 1200'
INFO: 2016-06-07 09:27:19,334: update_indicator() 'Setting file info to: /usr/share/backgrounds/gnome/adwaita-timed.xml'
INFO: 2016-06-07 09:27:19,335: regular_change_thread() 'regular_change thread running'
INFO: 2016-06-07 09:27:19,335: prepare_thread() 'Prepare thread running'
INFO: 2016-06-07 09:27:19,335: prepare_thread() 'Prepared buffer contains 0 images'
INFO: 2016-06-07 09:27:19,335: prepare_thread() 'Preparing some images'
INFO: 2016-06-07 09:27:19,336: _run() 'sync: Started, hash 2446574432d2be2f4e106fbce8eff5a0'
INFO: 2016-06-07 09:27:19,337: _run() 'sync: Syncing image sources'
INFO: 2016-06-07 09:27:19,337: update_indicator_icon() 'Creating indicator'
/usr/lib/python2.7/dist-packages/varietyslideshow/varietyslideshow.py:19: PyGIWarning: GtkClutter was imported without specifying a version first. Use gi.require_version('GtkClutter', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GtkClutter
INFO: 2016-06-07 09:27:19,435: do_set_wp() 'Calling do_set_wp with /usr/share/backgrounds/gnome/adwaita-timed.xml, time: 1465271839.44'
INFO: 2016-06-07 09:27:19,436: do_set_wp() 'Missing file or bad permissions, will not use it: /usr/share/backgrounds/gnome/adwaita-timed.xml'

(variety:9495): Gtk-WARNING **: Theme directory actions/48 of theme breeze has no size field

(variety:9495): Gtk-WARNING **: Theme directory categories/16 of theme breeze has no size field

(variety:9495): Gtk-WARNING **: Theme directory categories/22 of theme breeze has no size field

(variety:9495): Gtk-WARNING **: Theme directory categories/48 of theme breeze has no size field

(variety:9495): Gtk-WARNING **: Theme directory devices/48 of theme breeze has no size field

INFO: 2016-06-07 09:27:19,569: set_from_theme_icon() 'Showing indicator icon variety-indicator from GTK theme'
INFO: 2016-06-07 09:27:19,569: update_indicator() 'Setting file info to: /usr/share/backgrounds/gnome/adwaita-timed.xml'
INFO: 2016-06-07 09:27:19,781: prepare_thread() 'After search prepared buffer contains 92 images'
DEBUG: 2016-06-07 09:27:20,337: create_preferences_dialog() 'create new preferences_dialog'
INFO: 2016-06-07 09:27:20,620: reload() 'Reloading preferences dialog'
ERROR: 2016-06-07 09:27:20,633: get_file_icon_name() 'Exception while obtaining folder icon for None:'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/variety/Util.py", line 550, in get_file_icon_name
    query_info = f.query_info("standard::icon", Gio.FileQueryInfoFlags.NONE, None)
Error: g-io-error-quark: Error when getting information for file '/home/abhishek/None': No such file or directory (1)
INFO: 2016-06-07 09:27:20,642: load_user() 'smart: Loaded smart user: c616h9zb4j'
INFO: 2016-06-07 09:27:20,643: _run() 'sync: Started, hash 76e3cf20df5d4d0c27f3194f711098a3'
INFO: 2016-06-07 09:27:20,643: _run() 'sync: Syncing image sources'
INFO: 2016-06-07 09:27:22,565: _run() 'sync: Fetching serverside data'
INFO: 2016-06-07 09:27:23,580: _run() 'sync: Fetching serverside data'
DEBUG: 2016-06-07 09:27:24,911: load_syncdb() 'sync: Loading syncdb'
INFO: 2016-06-07 09:27:24,912: _run() 'sync: Uploading local favorites to server'
INFO: 2016-06-07 09:27:24,912: _run() 'sync: Uploading local banned URLs to server'
DEBUG: 2016-06-07 09:27:24,960: load_syncdb() 'sync: Loading syncdb'
INFO: 2016-06-07 09:27:24,962: _run() 'sync: Uploading local favorites to server'
INFO: 2016-06-07 09:27:24,962: _run() 'sync: Uploading local banned URLs to server'
INFO: 2016-06-07 09:27:39,355: server_options_thread() 'Fetching server options from http://tiny.cc/variety-options-051'
INFO: 2016-06-07 09:27:42,125: server_options_thread() 'Fetched server options: {u'unsplash': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'wallpapers.net': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'wallhaven': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'wallbase': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'flickr': {u'min_fill_queue_interval': 600, u'min_download_interval': 0}, u'status_message': {u'*': u"<a href='http://peterlevi.com/variety/2016/02/0-6-0-released-with-variety-slideshow/'>Variety 0.6.0 is here with a major new feature - Variety Slideshow!</a>", u'0.0.1': u''}}'

Peter Levi (peterlevi) wrote :

I have no KDE to test on at the moment. Does KDE display the wallpaper properly if you set it directly from its Appearance settings? This may also very well depend on the workaround you use to make Variety work with KDE. Does the image file end up as a correct image in the target folder ~/Pictures/variety-wallpaper/ after you choose it in Variety?

Changed in variety:
status: New → Incomplete
Abhishek Bhatia (abhigenie92) wrote :

Does KDE display the wallpaper properly if you set it directly from its Appearance settings?
>>No(http://imgur.com/biRuXpf). But I can open the image and view it.

This may also very well depend on the workaround you use to make Variety work with KDE.
>>I have used the second workaround mentioned in your post.

Does the image file end up as a correct image in the target folder ~/Pictures/variety-wallpaper/ after you choose it in Variety?
>>Yes it does.
abhishek Pictures $ pwd
/home/abhishek/Pictures
abhishek Pictures $ tree
.
|-- variety-copied-wallpaper-0182534dd6e1e70e0c64c9c10fae0981.jpg
`-- variety-wallpaper
    `-- wallpaper-kde-17316.jpg

1 directory, 2 files
abhishek Pictures $

Changed in variety:
status: Incomplete → New
Abhishek Bhatia (abhigenie92) wrote :

Please let me know if there is any more information I can provide to resolve this bug.

Adrian Skar (cylonskar) wrote :

I think it happens with all .png images. At least, as far as I've checked on my KDE devices it only happens with .png images.

Abhishek Bhatia (abhigenie92) wrote :

I have noticed it to happen even with .jpg images. I don't think if this will be fix ever.

Ángel (luianglenlop) wrote :

It happens with png files renamed as .jpg, for some reason variety changes file extension. If file extension is changed to .png plasma shows it correctly.

Ángel (luianglenlop) wrote :

I've added this to set_wallpaper script and it works

if [ "$(file $NEWWP | grep PNG)" ]; then
        rename jpg png $NEWWP
fi

Adrian Skar (cylonskar) wrote :

Noob changing this type of scripts here, where can I add that piece of code Angel?
Tyvm.

James Lu (tacocat) on 2017-02-17
Changed in variety:
status: New → Confirmed
James Lu (tacocat) on 2018-04-16
Changed in variety:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers