desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Gradient color picker partly hidden

Open clementpoiret opened this issue 2 years ago • 10 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

I am on Linux on a High-Res 16 inches screen. The color picker is partly hidden on the right.

2024-10-31-At-09h55m43s

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.15

What platform are you seeing the problem on?

Linux

Relevant log output

No response

clementpoiret avatar Oct 31 '24 09:10 clementpoiret

Hey @clementpoiret! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this issue together!

The issue with the gradient color picker being partly hidden on a high-resolution screen could be related to the CSS styling or positioning rules applied to the color picker component. The CSS rules for the color picker include relative and absolute positioning, which might not be handling high-resolution screens optimally. Specifically, the #zen-theme-builder-color-picker and its child elements use fixed dimensions and positioning that may not adapt well to different screen sizes or resolutions [1].

To address this, you might consider adjusting the CSS to use more flexible units like percentages or viewport units for width and height, or implementing media queries to handle different screen sizes. Additionally, checking if there are any JavaScript functions that dynamically adjust UI components based on screen resolution could also help in resolving this issue.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Oct 31 '24 09:10 dosubot[bot]

I am also on linux, can't reproduce this. Can you try version a.16?

RayZ3R0 avatar Oct 31 '24 14:10 RayZ3R0

Same thing on the latest a.16. Maybe a high-dpi issue?

clementpoiret avatar Oct 31 '24 19:10 clementpoiret

I also have this issue on KDE Plasma Fedora 40. Screenshot_20241031_214821

I am using a 1920x1080 display.

InterstellarOne avatar Nov 01 '24 05:11 InterstellarOne

I'm using zen in a 1366x768 res laptop. Actual version and the one when I used the color gradient a few days ago are working fine for me:

Image

OS: Windows 10

krisMG21 avatar Nov 03 '24 00:11 krisMG21

Issue present for me as well on a.17 on Linux.

sjclayton avatar Nov 04 '24 01:11 sjclayton

Still an issue as of 1.0.1-t.20 on Linux... any hope for this being fixed??, as it makes using this mostly impossible, since if you assign custom colors there is no way to remove them.

sjclayton avatar Nov 25 '24 03:11 sjclayton

Still present as of 1.0.2-t0... any response about this would be appreciated, thanks.

sjclayton avatar Dec 09 '24 18:12 sjclayton

As soon as the next version gets out, I'll try to check if I can patch it by myself and make a PR 👌

clementpoiret avatar Dec 09 '24 20:12 clementpoiret

I did not wait for the release, the fix was actually pretty simple :)

EDIT: In your userChrome.css, paste this CSS then restart Zen:

#PanelUI-zen-gradient-generator .panel-viewcontainer,
#PanelUI-zen-gradient-generator .panel-viewstack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

Can you please confirm it also fixes the issue for you?

clementpoiret avatar Dec 10 '24 10:12 clementpoiret