Bug 446868 - [x11] - 30bit color depth makes dock invisible with broken transparency
Summary: [x11] - 30bit color depth makes dock invisible with broken transparency
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-12 08:38 UTC by Jonas
Modified: 2022-01-18 04:36 UTC (History)
1 user (show)

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


Attachments
Blurred rectangle where dock should be (215.13 KB, image/png)
2021-12-12 08:38 UTC, Jonas
Details
full desktop capture before the patch; 2 screens (1080p, 1440p) (1.47 MB, image/jpeg)
2021-12-12 12:11 UTC, Jonas
Details
full desktop capture after the patch; 2 screens (1080p, 1440p) (2.08 MB, image/jpeg)
2021-12-12 12:14 UTC, Jonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas 2021-12-12 08:38:55 UTC
Created attachment 144474 [details]
Blurred rectangle where dock should be

STEPS TO REPRODUCE
1.
 create /etc/X11/xorg.conf.d/30-screensetup.conf 
Section "Screen"
  Identifier    "Default Screen"
  Monitor        "Configured Monitor"
  Device         "Configured Video Device"
  DefaultDepth    30
EndSection

2. Restart session or display manager
    sudo systemctl restart display-manager

OBSERVED RESULT
The lattedock gets loaded, but you can only see a blurred rectangle where it usually (see attached image)

EXPECTED RESULT
Dock loading normally with transparency

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 21.12
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
lattedock --version reports as 0.10.75 I couldn't find that in the version box above.
Comment 1 Jonas 2021-12-12 08:50:16 UTC
This is my first time reporting a bug here so I am not completely familiar in how things are done. I have written a patch to solve this bug, but I am not sure how to link git and this bug tracker together. On top of that, I think that my patch needs improvement.
Comment 2 Michail Vourlakos 2021-12-12 09:02:15 UTC
(In reply to Jonas from comment #1)
> This is my first time reporting a bug here so I am not completely familiar
> in how things are done. I have written a patch to solve this bug, but I am
> not sure how to link git and this bug tracker together. On top of that, I
> think that my patch needs improvement.

- 0.10.75 is consider master version
- is your patch somewhere online to check it out?
- the official way to send patches is through: https://invent.kde.org/plasma/latte-dock but if you do not want to create a kde invent login and send a MR request this way, I can try to upload it
Comment 3 Bug Janitor Service 2021-12-12 11:31:14 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/latte-dock/-/merge_requests/25
Comment 4 Michail Vourlakos 2021-12-12 11:47:31 UTC
(In reply to Bug Janitor Service from comment #3)
> A possibly relevant merge request was started @
> https://invent.kde.org/plasma/latte-dock/-/merge_requests/25

I am trying why this works.... and how panelbackground.cpp made contents transparent... 

Can you please provide a full dock screenshot before and after the patch?
Comment 5 Jonas 2021-12-12 12:11:58 UTC
Created attachment 144479 [details]
full desktop capture before the patch; 2 screens (1080p, 1440p)

Neither of the menus are rendered
Comment 6 Jonas 2021-12-12 12:14:24 UTC
Created attachment 144480 [details]
full desktop capture after the patch; 2 screens (1080p, 1440p)

The top and bottom latte panels are correctly shown in this image, now.
Comment 7 Michail Vourlakos 2021-12-19 23:02:29 UTC
should be fixed with Latte 0.10.6
Comment 8 Bug Janitor Service 2022-01-03 04:34:51 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 9 Bug Janitor Service 2022-01-18 04:36:29 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!