Bug 398728 - Strange white bar around latte-dock
Summary: Strange white bar around latte-dock
Status: RESOLVED NOT A BUG
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.8.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 17:01 UTC by hexchain
Modified: 2018-09-22 16:00 UTC (History)
0 users

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


Attachments
Screen recording of the issue (387.17 KB, video/mp4)
2018-09-16 17:01 UTC, hexchain
Details
"Plasma" layout (3.53 KB, text/plain)
2018-09-16 18:08 UTC, hexchain
Details
"My Layout" layout (1.20 KB, text/plain)
2018-09-16 18:08 UTC, hexchain
Details
latte-dock -g --graphics (2.98 MB, video/mp4)
2018-09-16 18:52 UTC, hexchain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hexchain 2018-09-16 17:01:35 UTC
Created attachment 115018 [details]
Screen recording of the issue

Every time latte-dock is activated there is a strange white bar around it. I have tried to remove ~/.config/latte* to restore original settings but it doesn't help.

The screen resolution is 3200x1800, 192dpi. The distro is Arch Linux, package version 0.8.1-1.

I've attached a screen recording of the issue.
Comment 1 Michail Vourlakos 2018-09-16 17:36:45 UTC
1. please upload your layout
2. what is your plasma theme?
Comment 2 hexchain 2018-09-16 18:08:31 UTC
Created attachment 115019 [details]
"Plasma" layout
Comment 3 hexchain 2018-09-16 18:08:53 UTC
Created attachment 115020 [details]
"My Layout" layout
Comment 4 hexchain 2018-09-16 18:09:41 UTC
Both layouts have this problem so I uploaded both of them.

My Plasma theme is Breeze.
Comment 5 Michail Vourlakos 2018-09-16 18:23:22 UTC
(In reply to Haochen Tong from comment #4)
> Both layouts have this problem so I uploaded both of them.
> 
> My Plasma theme is Breeze.

when did the issue started?
Comment 6 Michail Vourlakos 2018-09-16 18:26:08 UTC
Please try to run Latte from command line through:

latte-dock -d --graphics

how does the video looks like then?
Comment 7 Michail Vourlakos 2018-09-16 18:27:34 UTC
2. If you disable Blur from Tweaks is the issue fixed?
Comment 8 hexchain 2018-09-16 18:51:45 UTC
1. I don't use latte-dock until it was recommended by a friend recently, so I have no idea if this issue is a regression.
2. New video attached. The white bar is still there.
3. The issue is fixed if I disable blur in Tweaks.
Comment 9 hexchain 2018-09-16 18:52:13 UTC
Created attachment 115021 [details]
latte-dock -g --graphics
Comment 10 Michail Vourlakos 2018-09-16 19:23:12 UTC
Have you enabled PLASMA_USE_QT_SCALING for you hidpi screen?
Comment 11 hexchain 2018-09-16 19:28:17 UTC
(In reply to Michail Vourlakos from comment #10)
> Have you enabled PLASMA_USE_QT_SCALING for you hidpi screen?

Yes.
Comment 12 Michail Vourlakos 2018-09-16 19:39:46 UTC
(In reply to Haochen Tong from comment #11)
> (In reply to Michail Vourlakos from comment #10)
> > Have you enabled PLASMA_USE_QT_SCALING for you hidpi screen?
> 
> Yes.

Plasma devs propose to not be used anymore because it breaks too many things. One of which is the window geometries. The white box is your video is a miscalculated area for Blur effect. The reason of the miscalculations is PLASMA_USE_QT_SCALING, more issues are created also because of that variable
Comment 13 hexchain 2018-09-16 20:06:01 UTC
(In reply to Michail Vourlakos from comment #12)
> Plasma devs propose to not be used anymore because it breaks too many
> things. One of which is the window geometries. The white box is your video
> is a miscalculated area for Blur effect. The reason of the miscalculations
> is PLASMA_USE_QT_SCALING, more issues are created also because of that
> variable

Thanks for pointing that out, I'm not aware of that. Now I disabled PLASMA_USE_QT_SCALING, and the white bar was gone.

As for the PLASMA_USE_QT_SCALING itself, I enabled it because Plasma panel and context menu icon would be very small otherwise. It looks like Plasma devs are fixing bugs so that Plasma can eventually use Qt scaling. If this is not the case, could you please point me to some links that describe the current situation?
Comment 14 Michail Vourlakos 2018-09-16 20:21:12 UTC
Sorry I can't help with that. I learned about it through other bug reports and plasma devs stepped in to clear the situation.

Best way to scale up your interface is through fonts dpi in my opinion from plasma systemsettings, Fonts page
Comment 15 hexchain 2018-09-16 20:24:55 UTC
I already changed the font DPI to match the screen DPI. It didn't help much about visual elements (i.e. icons, indicators, etc.) on Plasma, though.

Thanks anyway. I guess this bug can be closed then?