-
Notifications
You must be signed in to change notification settings - Fork 757
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
Scide/theme mgmt fix #1297
Scide/theme mgmt fix #1297
Conversation
This patch adds missing elements to the list of keys to import when migrating to the new theme management feature.
Only background color is used for current line. See this previous patch: ide: themes: disable unused options display for currentLine
Since the transparent color can't be stored, this patch makes sure that when the picked brush is Qt::NoBrush (~ color transparent), the foreground is not set. It fixes the transparent color for foreground.
Since the theme class is not a Q_OBJECT, there is no need to put it into ide_moc_hdr. This patch fixes the following warning: sc-ide/core/settings/theme.hpp:0: Note: No relevant classes found
Hi, I just added a patch which fixes the warning "theme.hpp:0: Note: No relevant classes found. No output generated." |
Hi, would be lovely to have this commits pulled! ;) thanks! |
@telephon @jleben @muellmusik This PR is needed for 3.7. Can you label it? |
Or just merge and let testers find problems? In reality pull requests hardly get tested. This one (well, the one this builds upon) had more testing and discussion than most others. I have been using this a bit, seems to work fine. The one confusing thing I found is that you have to create a new theme, before you can change certain settings, but I guess that's by design? (try e.g. to change background color of "matching brackets" in the default settings - currently a hot issue :) ) |
👍 to merge |
Sorry, I found two more issues, one very small, the other one significant, but not necessarily directly related to your PR:
|
The behavior you're encountering is perfectly normal: the "current line" is not used and so is disabled: vdonnefort@83e8490 |
Yes, that's not my point. Any comments on the color picker? |
Well, I don't want to be too picky, so let somebody else make a judgement. I'll just say that in that case the text sample to the left will still display black as foreground color, regardless of the actual default Text color, so the user will still be confused. But there certainly are more pressing issues. So from my side up to your own judgement. |
@bagong, when I make this contribution I've been asked for disabling these unused options. But the fact that the foreground is not used is not related to this PR. |
Let me try to be clearer: There are two issues.
I am sorry, I won't be able to comment further on this, have to run... |
So I took the time to check in vanilla master: both issues are there as well. I'll file two issues and think this should be merged. |
@bagong So we should merge and then treat these issues separately? |
Yes, I've already filed issues. |
let's merge now, confirm ? |
Yes |
Fix SCIDE theme management
Damn we need some structure around here. Over a year to merge a PR ? I just merged a shit tonne of pull requests. |
And I'm thankful for that, these are bugfix and should have been merged on time for 3.7. |
There was such an incredible backlog it was hard for me to go through so On Thu, Mar 17, 2016 at 5:34 PM Vincent Donnefort notifications@github.com
|
Hi,
Following our discussion with @miczac (#1150), here's some theme related fixes.