-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fixed a regression is setting wallpaper with command-line #1858
Conversation
The regression resulted in an empty background when the wallpaper was set by command-line without specifying its mode, i.e., by ``` pcmanfm-qt --set-wallpaper <FILE> ``` Fixes lxqt/lxqt#2511
@stefonarch If your tests show no problem, I think a point release will be needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it looks that this was broken before this commit too, but is working in debian with1.4.0 so probably another fix is needed.
What's the relation to |
The img path |
I tested with Qt5, and it's being updated here. You should first close the Preferences dialog, set wallpaper, and then reopen Preferences dialog. It has never changed on the fly when Preferences dialog is kept open. |
What I did:
If you see a different outcome with the above procedure, please tell me at which stage. |
Did exactly follow. It is not changed at 4) here, also using As isn't updated from The weird thing is that in custom-actions Edit: black wallpaper, as to expect., as in the bug report. |
What is not changed? The wallpaper? What exactly happens at 4 for you? Let's be as clear as possible: You're saying that, after applying the patch to Qt5 pcmanfm-qt, |
Oh, in your command (inside your screenshot), you haven't set any path. Of course nothing should be changed -- and it wasn't before. EDIT: I also tested lxqt-config (in labwc). It also set the wallpaper correctly after this patch. |
I was inside the directory, but yes, giving the full path it works. But in |
I bet you've done something to it after so may tests related to Qt6 WIP PRs ;) Anyway, it isn't related to this PR (although I tested it). I'm merging this, taking the full responsibility. Then I'll make a point release. If something's still wrong, the users will tell us, but it was a bad regression that needed an immediate fix. |
Hello. Sorry for the intrusion, but i did compiled myself the commit and tried what was described in here. I have downloaded the commit (
After that, i opened 2 terminals into the /build/pcmanfm directory, then i stopped the 'desktop' LXQt module (under session settings), because qps showed that killing the process will restart it afterwards. Then, i ran in 1 of the terminals:
In the other one, i wanted to run:
but it did not worked in the 1st time, because the 'default' background mode was 'color'. (I verified this 2 times, i think it is because i have not installed this, so there are no 'saved settings'). After running 1 time:
Then the background mode changed and things started to work as expected: Whenever i ran :
the wallpaper changed successfully to the wallpaper2, and so on. After that, i checked that the Marking the 'Use the wallpaper provided by theme' into 'LXQT Theme' tab, then changing between the different LXQt themes changed the background properly (which was the issue reported), which also worked for me. |
Many thanks for the confirmation!
Yes, because it was changed by the regression. That might be the case for @stefonarch too. |
BTW, in the Qt6 version of lxqt-config, we might want to use I'll definitely forget this until then ;) |
I found the reason: lxqt/lxqt-config#978 (comment) |
The regression resulted in an empty background when the wallpaper was set by command-line without specifying its mode, i.e., by
Fixes lxqt/lxqt#2511