Bug 440977 - Duplicated Latte-Panel on 2nd screen not following styling 100% correctly
Summary: Duplicated Latte-Panel on 2nd screen not following styling 100% correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-14 17:40 UTC by stefanfunk1998
Modified: 2022-02-03 04:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (884.55 KB, image/png)
2021-08-14 17:40 UTC, stefanfunk1998
Details
latte layout (10.12 KB, text/plain)
2021-08-14 17:42 UTC, stefanfunk1998
Details
1st half (2.20 MB, image/png)
2021-08-14 17:55 UTC, stefanfunk1998
Details
2nd half (1 bytes, image/png)
2021-08-14 17:56 UTC, stefanfunk1998
Details
2nd half (first screenshot was corrupted) (2.23 MB, image/png)
2021-08-14 17:57 UTC, stefanfunk1998
Details
working layout file (10.02 KB, text/plain)
2021-09-22 17:13 UTC, stefanfunk1998
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefanfunk1998 2021-08-14 17:40:33 UTC
Created attachment 140720 [details]
screenshot

SUMMARY
i have created a latte-panel on my first screen, customized it to my liking, and then wanted to duplicate it over to my 2nd screen, which worked mostly well, except it looks like its a little bit thicker / has more padding inside? and also is not following the outline-setting (i have it set on both). manually changing any of those settings doesnt have an effect.

STEPS TO REPRODUCE
1. create latte panel
2. customize it like you want (thickness, outline)
3. duplicate it over

OBSERVED RESULT
latte panel on 2nd monitor is a smidge thicker and is missing outline

EXPECTED RESULT
latte panel is identical to the first one

SOFTWARE/OS VERSIONS
Windows: /
macOS: /
Linux/KDE Plasma: manjaro latest version 
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
attachment is a screenshot
Comment 1 stefanfunk1998 2021-08-14 17:42:00 UTC
Created attachment 140721 [details]
latte layout
Comment 2 Michail Vourlakos 2021-08-14 17:44:19 UTC
1. if you restart Latte same issue?
2. when you move the panels in the same screen is the issue fixed?
3. the outline story is a little weird
4. Run Latte with: "latte-dock -d --with-window" and take a full screenshot containing the debug windows and their information for the two panels in question
Comment 3 stefanfunk1998 2021-08-14 17:55:35 UTC
1. restarting, either with --replace or killing old instance and starting new one doesnt fix it
2. having them on the same screen doesnt fix it either, even when duplicating the panel in the first place, it will place it on the same screen, on the left edge and the outline / thickness issue already exists
4. i will add 2 screenshots with the windows (contents were too long to fit into single screen height
Comment 4 stefanfunk1998 2021-08-14 17:55:51 UTC
Created attachment 140722 [details]
1st half
Comment 5 stefanfunk1998 2021-08-14 17:56:01 UTC
Created attachment 140723 [details]
2nd half
Comment 6 stefanfunk1998 2021-08-14 17:57:05 UTC
Created attachment 140724 [details]
2nd half (first screenshot was corrupted)
Comment 7 Michail Vourlakos 2021-08-14 18:08:36 UTC
there is a 2px. thickness margin in one of the panels, are you sure that both panels have set Thickness Margin 0%?
Comment 8 stefanfunk1998 2021-08-14 18:14:51 UTC
https://imgur.com/a/Y3X3Zqa

website is not letting me upload screenshots due to file size

both panels have thickness margin set to 0%, playing around on the right panel with the thickness slider has no visual change for 0% - 3%, starting from 4% it will grow
Comment 9 stefanfunk1998 2021-08-20 10:18:43 UTC
just found something curious

if i go to my normal, correctly themed panel on my first screen, and i set Appearance > Background > Radius to 0px from Def., and i enable the button "All Corners", the panel looks exactly like the incorrectly themed panel on my second screen.

i assume that the "Outline" and "All Corners" Buttons for my 2nd screen are not working correctly then, as it will always assume that the "Outline" Button is not pressed, while the "All Corners" Button is pressed.
Comment 10 Bug Janitor Service 2021-09-04 04:35:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2021-09-19 04:35:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 12 stefanfunk1998 2021-09-22 17:12:27 UTC
just played around with it a bit more because of the stale message.

generally it feels like it has something to do with a copy / move process.

for one, if i try to create a new latte panel with the context menu on an existing panel, it will always create them on my primary screen. when i try to move it through the on-screen config window, it just disappears, until i restart latte-dock again, then the position is a least correct for me.

just now, i have moved my "correct" panel to my second screen, not through the "on-screen config window", but through the latte settings layout window. when moved like that, it displays correctly on my 2nd screen. i just re-created the panel 1:1 on my primary screen, and its working correctly now again.

i can attach the now correct .layout file, maybe that will help figure out what goes wrong during the copy process
Comment 13 stefanfunk1998 2021-09-22 17:13:11 UTC
Created attachment 141798 [details]
working layout file
Comment 14 Michail Vourlakos 2021-09-22 18:57:27 UTC
(In reply to stefanfunk1998 from comment #12)
> just played around with it a bit more because of the stale message.
> 
> generally it feels like it has something to do with a copy / move process.
> 
> for one, if i try to create a new latte panel with the context menu on an
> existing panel, it will always create them on my primary screen. when i try
> to move it through the on-screen config window, it just disappears, until i
> restart latte-dock again, then the position is a least correct for me.
> 

you need to open a different issue for this, even though I am not sure that this is a bug

> just now, i have moved my "correct" panel to my second screen, not through
> the "on-screen config window", but through the latte settings layout window.
> when moved like that, it displays correctly on my 2nd screen. i just
> re-created the panel 1:1 on my primary screen, and its working correctly now
> again.
> 
> i can attach the now correct .layout file, maybe that will help figure out
> what goes wrong during the copy process

copy process is too complicated to mess with but lets leave this open in case more relevant insights appear or someone that has any interest to track down what needs fixing.
Comment 15 Michail Vourlakos 2021-12-20 21:16:04 UTC
I think this is now fixed with Latte 0.10.6, can you please confirm it?
Comment 16 Bug Janitor Service 2022-01-04 04:34:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 stefanfunk1998 2022-01-04 16:31:08 UTC
(In reply to Michail Vourlakos from comment #15)
> I think this is now fixed with Latte 0.10.6, can you please confirm it?

just got an update on manjaro yesterday, tried quickly replicating my panel like before, it kinda half-crashed(?) latte, as both docks were still shown, but no panels anymore, after i restarted latte with --replace, i could move the panel to the other screen, and the copy seems to work correctly now
Comment 18 Bug Janitor Service 2022-01-19 04:36:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 Bug Janitor Service 2022-02-03 04:38:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!