-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Weird outline arounds some apps #52
Comments
|
From @jdamboeck on February 15, 2018 13:6 Yeah... I know what an outline is. But I disabled the outline then why is it still there. |
|
From @jdamboeck on February 15, 2018 15:37
but there is another error.
|
does the problem happens only with Telegram (and other google-chrome/electron-based apps) ? if so -- that could be a duplicate of this issue: |
From @jdamboeck on February 15, 2018 16:6 it happens with all windows that use a small window decoration(tool style window i think). gimp for example or the oomox popup when you export the theme. |
i still can't reproduce it but let's try to debug it:
window decoration {
margin: 0;
border: none;
} restar the app and see if it helped |
From @jdamboeck on February 15, 2018 17:53
|
From @jdamboeck on February 15, 2018 18:3
|
From @jdamboeck on February 15, 2018 18:30 and... when i change the border color... the faulty border on all tool style windows stays the same color as before. so i think there maybe an bug when applying the color to those windows. after(retro/c64 modified border color and radius) : the square is the default border color and radius |
if your WM not offering such option you can create a "fake" theme:
|
are they applying after re-logging-in to the gnome? |
From @jdamboeck on February 15, 2018 18:50
ah.. yes they do but its still the wrong color... always the focused window corder even if unfocused |
From @jdamboeck on February 15, 2018 18:52 As for the metacity theme... i think gnome does not use that anymore? |
so, just to confirm it's not using metacity: when you're doing this sequence:
you're still able to reproduce the issue or you're seeing some default Adwaita titlebars? |
From @jdamboeck on February 15, 2018 18:59 yes... but i can't resize the windows with csd anymore(okay.. this is because of your gtk.css changes) the buggy windows stay the same so indeed it is using a metacity theme. |
From @jdamboeck on February 15, 2018 19:7 okay.. no matter what i change it stays visually the same |
then i guess now gnome is reading them from gtk theme does editing |
From @jdamboeck on February 15, 2018 19:55 for that i would have to compile it myself i think? |
you can just edit |
From @jdamboeck on February 15, 2018 19:58 nevermind... checked the source out. nothing to compile i think. |
i particularly recommend playing with the line 40 ( i think that so _window.scss is clearly missing something for unfocused .ssd windows, i am wondering if gnome understands something like |
From @jdamboeck on February 15, 2018 20:36 changing .ssd does indeed change the windows in question... now im on the hunt for any documentation on that.. but good luck searching for searches with ssd as a term :D |
From @jdamboeck on February 15, 2018 20:57 that did the trick
|
From @jdamboeck on February 15, 2018 22:27 but the issue numixproject#121 is still there.. it applies the right color but there is a double border. the one from the ssd and inside that another one which does not include the titlebar. |
if you set |
From @jdamboeck on February 16, 2018 0:29 yes |
and what about: window decoration {
border-width: $spacing + 2px;
}
window {
border-radius: $roundness / 2;
} ? |
From @jdamboeck on February 16, 2018 0:34 The same as as without gtk.css |
you need to compile in your head that scss snippet into css using the real values from your preset :-) |
From @jdamboeck on Feb 16 i have a spacing of 3 and a roundness of 0 window` decoration {
margin: 0;
border-width: 5px;
}
window {
border-radius: 0;
} |
hm, mb i'll have a look how that part implemented in other themes |
From @jdamboeck on Feb 16 if i pick a default color presets and export it, i too get the same color as the titlebar... when i edit "focused window border" "unfocused window border" and "background" the strange double border is back again. somehow the wrong color gets added if you edit one of the default presets. but unedited the default color presets generate themes as they should be. edit: bit its not consistent either. sometimes it works sometimes the error is back. might depend on the colors? maybe it helps if i send you the preset where its broken so you can test with that? named it .txt so i can upload it to github |
that black color is coming from |
From @jdamboeck on Feb 16 Yeah but why. |
From @jdamboeck on Feb 16 https://www.reddit.com/r/archlinux/comments/6duktu/adding_colored_window_borders_in_gnome/di9htfj/ if i put that part in my gtk.css it works as intended. maybe it helps finding a solution. |
could you please check if the same theme still works fine in openbox? |
From @jdamboeck on Feb 16 in openbox all is as intended |
splendid! could you prepare a pull request please? |
From @jdamboeck on Feb 16 what for? i did not do anything... maybe we did missunderstand each other? the theme works in openbox without me doing any changes. |
|
From @jdamboeck on Feb 16 yeah.. but i don't really know where to apply the gtk.css changes to the oomox -gtk-theme code. never done any real gtk theming before. :D I am just trying do sherlock my way through it. |
you can see similar class names in _window.scss which i mentioned few times above if you'll not manage to do so, i'll have some time mb on sunday to give it a try |
From @jdamboeck on Feb 16 I will try to sherlock some more... Maybe I'll get my feet in it. |
after that you could add SCSS to your CV ;P |
From @jdamboeck on Feb 16 i got scss partially... i am an webdev after all but done mostly plain css and less the last years. but i don't really know the gtk specific parts in all of this. |
i am not sure if it's solved in all the setups or not so better will leave it open |
@pandasauce please try if any of the solutions proposed above are working in your setup if so, please prepare a PR or at least share a patch or so |
- Expand window resize area - Fix double border around windows - Fix .solid-csd styling to properly display windows in tiling window managers Fixes themix-project#52 Fixes themix-project/themix-gui#170
- Expand window resize area - Fix double border around windows - Fix .solid-csd styling to properly display windows in tiling window managers Fixes #52 Fixes themix-project/themix-gui#170
- Expand window resize area - Fix double border around windows - Fix .solid-csd styling to properly display windows in tiling window managers Fixes #52 Fixes themix-project/themix-gui#170
From @jdamboeck on February 14, 2018 19:55
Outline despite of outline=0.. also what is this glow around the windows?
oomox 1.5 arch
Copied from original issue: themix-project/themix-gui#123
The text was updated successfully, but these errors were encountered: