Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame scroll controls become invisible when background is set to black #48

Closed
videosmith opened this issue Jan 30, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@videosmith
Copy link

Bug Description
When selecting Black as the background color, the right-side scroll bar is invisible.

Expected behavior

Invert the scroll elements colors?

Device information

  • Operating System: [e.g. Linux, Windows, macOS, iOS, or Android]
  • QPrompt Version: [e.g. 1.0.0]
@Cuperino Cuperino added the bug Something isn't working label Feb 1, 2022
@Cuperino Cuperino added this to the 1.x milestone Feb 1, 2022
@Cuperino
Copy link
Owner

Cuperino commented Feb 1, 2022

This is an unintended consequence of the scrollbar being composed of opaque black rectangles. Inverting colors is computationally inexpensive but may result in a distracting amount of contrast with the background because humans are more susceptible to differences between light colors than we are to differences between dark colors.

I'll see if I can use an accent color for the scrollbar.

@Cuperino Cuperino changed the title frame scroll controls hidden Frame scroll controls become invisible when background is set to black Feb 1, 2022
Cuperino pushed a commit that referenced this issue Feb 2, 2022
…e the scroll indicator is always visible in the most common backgrounds, which are black, white and the default gray. This change also increases performance while prompting, but I doubt that it is perceptible.
@Cuperino
Copy link
Owner

Cuperino commented Feb 2, 2022

Used color theory and played with opacity to ensure the scroll indicator is always visible in the most common backgrounds, which are black, white and the default gray. This change also increases performance while prompting, but I doubt that it is perceptible.

Fix will be out in the next update.

@Cuperino Cuperino closed this as completed Feb 2, 2022
@Cuperino Cuperino moved this to Done in QPrompt Feb 25, 2023
@Cuperino Cuperino added this to QPrompt Feb 25, 2023
@Cuperino Cuperino modified the milestones: 2.x, 1.x Nov 17, 2024
Cuperino pushed a commit that referenced this issue Dec 1, 2024
…e the scroll indicator is always visible in the most common backgrounds, which are black, white and the default gray. This change also increases performance while prompting, but I doubt that it is perceptible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants