Bug 480558 - Random blue line underneath Plasma Panel on login
Summary: Random blue line underneath Plasma Panel on login
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.92.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-30 18:59 UTC by Dashon
Modified: 2024-02-05 12:02 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Random Blue Line (1.11 MB, image/jpeg)
2024-01-30 19:08 UTC, Dashon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dashon 2024-01-30 18:59:53 UTC
SUMMARY
On the plasma 6 wayland session, whenever I login for the first time. There is a random blue line underneath my top panel. I have two monitors. I have the default panel on the bottom and I added one panel to the top of each monitor. I have tried removing and re-adding the panel, but that does not solve the issue. Furthermore, if I remove every panel but the default one on the bottom. The issue does not occur. The blue line only show up underneath one panel at any given time. Usually the one on my primary monitor. If I remove the panel on my primary monitor, but not the one on my second monitor. The blue line will appear underneath that panel instead. This also occurs with vertical panels as well. I will attach a screenshot showcasing what I am seeing.


STEPS TO REPRODUCE
1. Add a second panel somewhere on the screen.
2. Log out.
3. Log back in.

OBSERVED RESULT
There is a blue line underneath the second panel you added. (If the panel is vertical it will be on the side of the panel then.)

EXPECTED RESULT
That line shouldn't be there.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dashon 2024-01-30 19:08:37 UTC
Created attachment 165361 [details]
Random Blue Line
Comment 2 semlraug 2024-01-30 19:39:52 UTC
I'm seeing the same thing on my setup, as can be seen here:

https://forum.endeavouros.com/uploads/default/original/3X/3/9/390921519a6757dbe1e83887c3029fb6511071c9.jpeg

Operating System: EndeavourOS 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.2-arch1-1 (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 3 Nate Graham 2024-01-30 23:04:20 UTC
Is the panel empty? What's on it?
Comment 4 Dashon 2024-01-30 23:12:39 UTC
(In reply to Nate Graham from comment #3)
> Is the panel empty? What's on it?

The only thing on it is the global menu.
Comment 5 Nate Graham 2024-01-30 23:21:16 UTC
Question: if you add an Analog Clock widget to that panel and reboot, does the issue still happen?
Comment 6 Dashon 2024-01-30 23:28:01 UTC
(In reply to Nate Graham from comment #5)
> Question: if you add an Analog Clock widget to that panel and reboot, does
> the issue still happen?

Even with the analog clock widget on the panel the blue line is still their after a reboot.
Comment 7 Nate Graham 2024-01-30 23:28:31 UTC
Ok, thanks.
Comment 8 Dashon 2024-01-30 23:29:24 UTC
(In reply to Nate Graham from comment #7)
> Ok, thanks.

No problem, let me know what else I can do.
Comment 9 Dashon 2024-01-30 23:30:55 UTC
(In reply to Nate Graham from comment #7)
> Ok, thanks.

One thing I forgot to add to the description. Is that clicking anywhere causes that line to disappear.
Comment 10 fanzhuyifan 2024-01-31 03:22:48 UTC
Are you using fractional scaling for your displays? Does the issue disappear if you use integral scaling?
Comment 11 Doug 2024-01-31 04:18:28 UTC
Sounds like this resolved bug, which I reported a while back but has worked for me since RC1.

https://bugs.kde.org/show_bug.cgi?id=479379
Comment 12 Dashon 2024-01-31 13:39:15 UTC
(In reply to fanzhuyifan from comment #10)
> Are you using fractional scaling for your displays? Does the issue disappear
> if you use integral scaling?

I am using fractional scaling, but setting the scale back to 100% and rebooting did not resolve the issue.
Comment 13 Dashon 2024-01-31 13:44:55 UTC
(In reply to Doug from comment #11)
> Sounds like this resolved bug, which I reported a while back but has worked
> for me since RC1.
> 
> https://bugs.kde.org/show_bug.cgi?id=479379

Yeah, it looks similar to this except it doesn't appear over the panel with the task manager. The highlight appears underneath my top panel which contains the global menu widget. If nothing is using the global menu at the time, then the panel looks empty. In my original post I described how the highlight only effects one of my three panels. Removing one panel will simply move the highlight to the next panel. If I recursively remove every panel except for the one that contains the task manager. Then the problem completely goes away. The panel with the task manager is the only panel to never be affected by the highlighting.
Comment 14 Doug 2024-01-31 13:47:31 UTC
(In reply to Dashon from comment #13)
> (In reply to Doug from comment #11)
> > Sounds like this resolved bug, which I reported a while back but has worked
> > for me since RC1.
> > 
> > https://bugs.kde.org/show_bug.cgi?id=479379
> 
> Yeah, it looks similar to this except it doesn't appear over the panel with
> the task manager. The highlight appears underneath my top panel which
> contains the global menu widget. If nothing is using the global menu at the
> time, then the panel looks empty. In my original post I described how the
> highlight only effects one of my three panels. Removing one panel will
> simply move the highlight to the next panel. If I recursively remove every
> panel except for the one that contains the task manager. Then the problem
> completely goes away. The panel with the task manager is the only panel to
> never be affected by the highlighting.

I don't think the global menu is causing the problem.  I have a global menu on the panel that was not being highlighted, and no global menu on the panel that was not.
Comment 15 Doug 2024-01-31 13:48:39 UTC
Sorry- I made a typo.  The panel with the global menu was not highlighted.  The panel without the global menu was the one getting a blue line.
Comment 16 Dashon 2024-01-31 13:50:16 UTC
(In reply to Doug from comment #15)
> Sorry- I made a typo.  The panel with the global menu was not highlighted. 
> The panel without the global menu was the one getting a blue line.

Yeah, I don't think what widgets are and aren't there matter. I just wanted to describe the contents of my panels.
Comment 17 Dashon 2024-01-31 14:42:10 UTC
If I set the panel to autohide, then the issue goes away and it doesn't get passed to the next panel.
Comment 18 semlraug 2024-01-31 14:46:02 UTC
(In reply to Nate Graham from comment #3)
> Is the panel empty? What's on it?

My top panel was empty; i had only added it see if i could reproduce the bug that was reported here.
Comment 19 Akseli Lahtinen 2024-02-02 15:13:39 UTC
I can reproduce this at times when my screen goes off and plasmashell crashes (this was likely a qt 6.6 bug, and should be fixed in qt 6.7). Sometimes the panel just gets "active" and shows the blue line. Toggling kickoff or any other widget seems to fix it.

Operating System: Fedora Linux 39
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.0
Kernel Version: 6.6.13-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 20 Dashon 2024-02-02 15:16:35 UTC
(In reply to Akseli Lahtinen from comment #19)
> I can reproduce this at times when my screen goes off and plasmashell
> crashes (this was likely a qt 6.6 bug, and should be fixed in qt 6.7).
> Sometimes the panel just gets "active" and shows the blue line. Toggling
> kickoff or any other widget seems to fix it.
> 
> Operating System: Fedora Linux 39
> KDE Plasma Version: 6.0.80
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.0
> Kernel Version: 6.6.13-200.fc39.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

I'm already on Qt 6.7, sorry. I thought I copied and pasted my info but I see now that I left it blank. I'll fix that in a bit.
Comment 21 semlraug 2024-02-02 15:17:46 UTC
(In reply to Akseli Lahtinen from comment #19)
> I can reproduce this at times when my screen goes off and plasmashell
> crashes (this was likely a qt 6.6 bug, and should be fixed in qt 6.7).
> Sometimes the panel just gets "active" and shows the blue line. Toggling
> kickoff or any other widget seems to fix it.
> 
> Operating System: Fedora Linux 39
> KDE Plasma Version: 6.0.80
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.0
> Kernel Version: 6.6.13-200.fc39.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

Not sure about it being solved on qt6.7: I'm on arch/endeavouros, which uses QT6.7  already.
Comment 22 Dashon 2024-02-02 17:28:30 UTC
(In reply to Akseli Lahtinen from comment #19)
> I can reproduce this at times when my screen goes off and plasmashell
> crashes (this was likely a qt 6.6 bug, and should be fixed in qt 6.7).
> Sometimes the panel just gets "active" and shows the blue line. Toggling
> kickoff or any other widget seems to fix it.
> 
> Operating System: Fedora Linux 39
> KDE Plasma Version: 6.0.80
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.0
> Kernel Version: 6.6.13-200.fc39.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 15.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 6600

Here is my system info:
Operating System: EndeavourOS 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.2-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C95
System Version: 1.0
Comment 23 Vlad Zahorodnii 2024-02-05 11:44:23 UTC
Git commit 3a9d993d7877f39b79b07326f05cc8d4932fe0ba by Vlad Zahorodnii.
Committed on 05/02/2024 at 11:44.
Pushed by vladz into branch 'master'.

shell: Fix initial keyboard interactivity flag in PanelView

M  +1    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/3a9d993d7877f39b79b07326f05cc8d4932fe0ba
Comment 24 Vlad Zahorodnii 2024-02-05 12:02:55 UTC
Git commit db0ba010b943887652466cf2f1b8dec47ae47c75 by Vlad Zahorodnii.
Committed on 05/02/2024 at 11:48.
Pushed by vladz into branch 'Plasma/6.0'.

shell: Fix initial keyboard interactivity flag in PanelView


(cherry picked from commit 3a9d993d7877f39b79b07326f05cc8d4932fe0ba)

M  +1    -1    shell/panelview.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/db0ba010b943887652466cf2f1b8dec47ae47c75