-
Notifications
You must be signed in to change notification settings - Fork 446
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
Search/filter placeholder text fix #4475
Search/filter placeholder text fix #4475
Conversation
89631cf
to
fcd40b2
Compare
I have tested the PR under Archlinux. One thing I noticed is that the red colour is not always reset.
Here is a short video. Unfortunately, the Manage Filters is not displayed. |
@marcenGC Thank you for testing the PR (and the video), I'll take another look to see why the red colour is not reset in this case. |
@marcenGC The problem you found is now fixed in the latest commit. I'd used a couple of static parameters to limit the number of updates in the new setSearchBoxStyle() function, but opening the Manage Filters creates another instance of the SearchBox and this caused the update limit functionality to fail, they are now private member variables. |
Thank you for the fix. It works fine now. |
This PR works on Windows & Archlinux, can someone test whether it works on MacOs ? |
Yes, it seems to work on macOS too |
ok, I'll take a look why this is happening |
d596ea7
to
b9dd85c
Compare
I have updated the PR description with the latest fixes, please test on Linux & MacOs, thanks. |
Test on Debian with Qt5 here. Looks good to me with one minor exception: When switching the color-scheme having an active error in the filter, the red text turns to the default color |
Thank you for testing, I hadn't tried that corner case :) I guess that'll be the configChanged not checking the parsing error state, I'll wait to see what else gets reported. |
It is harder to see the latest changes if you force push... Anyway, I think this PR is becoming increasingly complex and difficult to check it doesn't generate other issues just to fix a non-functional barely noticeable cosmetic issue. |
@amtriathlon, I've now split up the most useful changes into smaller PRs, and I'll aim to keep future PR's focused on a single problem, and avoid any force pushing of changes. |
This PR fixes:
From the mainWindow Toolbar:
From the Trends, Manage Filters:
The "Manage Filters" option in the pull down menu has been removed from the "Manage Filters" dialogue, otherwise this just opens another instance of the dialogue for no benefit, and possible accidental filter overwrite problems.
Added a close button to the bottom right of the "Manage Filters" dialogue, hopefully preventing accidentally deleted filters.
Removed "column chooser" from the "Manage Filters" pull down, as the option is already available from the ride navigator menu, and IMHO it is more logically associated with that location, I can add it back if you want it retained.
I have tested the above with most dark & light themes on Windows and all seems to work, so can it be tested on Linux & MacOs ?
Note: All popup windows and dialogues do not respect the selected theme, and use a default light theme, this this was part of the problem of hidden text, I expect it would a significant project to get them to adopt the theme colours.