Bug 434440

Summary: Unable to move panels/docks to other displays
Product: [Unmaintained] lattedock Reporter: Michael Monaco <thepoorpilot>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of issue
DDD Possible Errors for Screenshot problem(unrelated)
DDD error at crash

Description Michael Monaco 2021-03-15 13:49:53 UTC
Created attachment 136692 [details]
Screenshot of issue

SUMMARY
This links to bug 433876
Links to this gitlab issue as well: https://invent.kde.org/plasma/latte-dock/-/issues/51

After reinstalling Garuda Linux, I am no longer able to move panels to other displays.

STEPS TO REPRODUCE
1.Duplicate a panel for testing 
2.Change screen to anything other than "Follow Primary Display"

OBSERVED RESULT
Panel and panel settings menu become blurry boxes. Only goes away after clicking "edit" on a different panel or dock. After it disappears the dock/panel does not move to the other display.

EXPECTED RESULT
The dock/panel moves to the specified display

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Garuda Linux
(available in About System)
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
My guess is the code that caused the old bug has been reintroduced into the code somehow. If not, there is some other issue in the code causing this.

Although unlikely, this could also be an issue with the Garuda Linux package instead of code(I am fairly sure the latte-dock-git package does not make substantial modifications to the code)
Comment 1 Michail Vourlakos 2021-03-15 14:02:32 UTC
Has Garuda updated its Latte git version to include https://invent.kde.org/plasma/latte-dock/-/commit/76b6317f9e85219d863dadbb4180cc38ffc2cec4

?

The issue was fixed yesterday but I need confirmation that is still valid on updated systems.
Comment 2 Michael Monaco 2021-03-15 14:33:55 UTC
The iso I downloaded was from 03/13.

I had updated the latte-dock-git package, but not gotten a chance to reboot.
I ran "latte-dock --replace"(because I still can't reboot right now) and the issue now seems resolved.

Thanks!
Comment 3 Michail Vourlakos 2021-03-15 14:46:01 UTC
(In reply to Michael Monaco from comment #2)
> The iso I downloaded was from 03/13.
> 
> I had updated the latte-dock-git package, but not gotten a chance to reboot.
> I ran "latte-dock --replace"(because I still can't reboot right now) and the
> issue now seems resolved.
> 
> Thanks!

these are good news because the fix includes also a way to fix the situation for previous latte git version users.
Comment 4 Michael Monaco 2021-03-15 15:01:32 UTC
There is one issue I have after updating, however.

Whenever I take a screenshot of an "active window" using Spectacle, latte-dock crashes.

At first I thought it was due to notifications having an issue. KDE connect notifications have no issues.
Do you have any idea what could be causing this. Judging from the name of the commit you made, it could have something to do with it.
Comment 5 Michael Monaco 2021-03-15 15:04:30 UTC
That was really poorly written, but I hope you can get the gist.
If this sounds like a real problem, I can submit another bug report.
Comment 6 Michail Vourlakos 2021-03-15 15:13:37 UTC
(In reply to Michael Monaco from comment #5)

(In reply to Michael Monaco from comment #4)
> There is one issue I have after updating, however.
> 
> Whenever I take a screenshot of an "active window" using Spectacle,
> latte-dock crashes.
> 
> At first I thought it was due to notifications having an issue. KDE connect
> notifications have no issues.
> Do you have any idea what could be causing this. Judging from the name of
> the commit you made, it could have something to do with it.

you probably need to open a new bug report. In my system I can not reproduce this...
Comment 7 Michael Monaco 2021-03-15 20:09:40 UTC
Created attachment 136703 [details]
DDD Possible Errors for Screenshot problem(unrelated)
Comment 8 Michael Monaco 2021-03-15 20:12:08 UTC
Created attachment 136704 [details]
DDD error at crash

I attached two photos of my debugging in ddd.
Given the segmentation fault, I'm beginning to think I may have issues with my hardware. However, I have seen segmentation fault a few times in chromium over the years with this machine.

Before I submit a bug report on the screenshot issue, does this reveal anything, or does it seem to be a problem only I have.
Comment 9 Michail Vourlakos 2021-03-15 21:24:37 UTC
Open new bug report with way to reproduce and Details
Comment 10 Michail Vourlakos 2021-03-15 21:25:50 UTC
btw the crash does not point to Latte so possibly a bug with some applet.