Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'get' command returns the same wallpaper for different screens with different wallpapers. #25

Open
ashleyharvey opened this issue Mar 31, 2019 · 7 comments
Labels
bug 💵 Funded on Issuehunt This issue has been funded on Issuehunt help wanted

Comments

@ashleyharvey
Copy link

ashleyharvey commented Mar 31, 2019

Issuehunt badges

This is on Mojave. It reports the same wallpaper across both screens, but only the first screen has the reported wallpaper.

There is a $60.00 open bounty on this issue. Add more on Issuehunt.

@IssueHuntBot
Copy link

@IssueHunt has funded $60.00 to this issue.


@mediter
Copy link

mediter commented Apr 18, 2019

In my case, it is behaving as expected in macOS Mojave.

@ashleyharvey
Copy link
Author

In my case, it is behaving as expected in macOS Mojave.

Odd...
What's your OS version and build number, wallpaper version number, and the setup of your screens?

@mediter
Copy link

mediter commented Apr 19, 2019

macOS 10.14.3 (18D109)
wallpaper v2.0.0 (installed using brew cask)

one external display, with the built-in display as the main display.

All the wallpapers are specified individually.

@mediter
Copy link

mediter commented Apr 19, 2019

after some tests, I suspect this to be a macOS bug instead of something related with wallpaper.

Here is what I have tried:

  1. remove the database file located at ~/Library/Application Support/Dock/desktoppicture.db
  2. try to set desktop pictures for both the built-in and external displays, to keep things simple, both are set to a single image.
  3. use sqlite3 to check the freshly created desktoppicture.db

Screen Shot 2019-04-20 at 12 13 30 AM
Screen Shot 2019-04-20 at 12 13 30 AM (2)

it seems that after desktoppicture.db is recreated, the first desktop picture change would not be logged in this file.

@ashleyharvey
Copy link
Author

ashleyharvey commented Apr 19, 2019

macOS 10.14.3 (18D109)
wallpaper v2.0.0 (installed using brew cask)

macOS 10.14.4 (18E226)
Also wallpaper v2.0.0 through brew cask.

one external display, with the built-in display as the main display.

I have one external, but it's my main, and my built-in is the secondary.

All the wallpapers are specified individually.

I have a massive folder of nice high-res wallpapers that I pointed to; they rotate every 30 minutes.

it seems that after desktoppicture.db is recreated, the first desktop picture change would not be logged in this file.

Interesting findings. I checked the database myself - both of my pictures are in there. I will try re-creating it and see if it stops appending them to the data table. I'm not super clear yet on how macos-wallpaper scours the database to figure out which wallpapers are in use for each desktop. I don't know Swift but looking through the code it looked like it uses macOS API calls to figure it out, rather than anything to do with this database.

@mediter
Copy link

mediter commented Apr 20, 2019

Correction of my setup:
macOS 10.14.4 (18E226)
wallpaper v2.0.0 (installed using brew cask)

one external display used as the main display.

@issuehunt-oss issuehunt-oss bot added the 💵 Funded on Issuehunt This issue has been funded on Issuehunt label May 10, 2019
@crstauf crstauf mentioned this issue Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 💵 Funded on Issuehunt This issue has been funded on Issuehunt help wanted
Projects
None yet
Development

No branches or pull requests

4 participants