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

aurorae theme: huge borders with font scaling #34

Closed
scarwire opened this issue Apr 25, 2019 · 11 comments
Closed

aurorae theme: huge borders with font scaling #34

scarwire opened this issue Apr 25, 2019 · 11 comments
Labels

Comments

@scarwire
Copy link

First of all, thanks for this beautiful theme!

There's a problem with the aurorae window decorations which I've seen on several other themes: if you increase the font dpi setting in KDE to more than 96, the window borders get really, really big. This happens on a lot of themes, but not all, so I don't know if it's a bug in a lot of themes or a bug in Plasma.

To reproduce: open kde system settings -> fonts -> force fonts dpi: 120 -> ok. Log out and back in. Open any window and you'll see the problem.

@EliverLara
Copy link
Owner

Hi, thanks for reporting!, I've reproduced the issue and the border looks really big, so as a temporary solution I have adjusted the values ​​in the rc file, if you want you can download it here while I find an official solution.

@ChordMankey
Copy link

Hi, I just tried applying the fix that you provided by copying the file from your fix into ~/.local/share/aurorae/themes/Sweet-Dark

And although it fixed the window being larger than the title-bar issue, another peculiar issue appeared that I'll describe with an image

Just to clarify, I'm using the collection of the themes you've created for KDE, just felt the need to clarify because this repo seems to contain (also) the GTK theme.

Thanks for the help!

@thewhiteh4t
Copy link

i am also having this same issue, and only my konsole and panel are translucent / blurred not settings app or dolphin
Screenshot_20190517_191302

@thewhiteh4t
Copy link

thewhiteh4t commented May 17, 2019

Forcing font dpi to 96 fixes this issue, but i still dont know why dolphin is not transparent, i have enabled both transparency and blur in desktop effects

@EliverLara
Copy link
Owner

Hi @ChordMankey and @thewhiteh4t thanks for reporting!, @thewhiteh4t Did you try to use the solution I proposed before changing font dpi? about dolhin blur, thats achieve by the kvantum theme.

@thewhiteh4t
Copy link

thewhiteh4t commented May 18, 2019

@EliverLara no actually when i switched to kde, initially all the fonts were very small by default at size 10 so i increased them to 14, then i read about dpi and forced it to 96 which made fonts very big so i reduced font size back to 10 and kept dpi at 96 and your theme works, so i did not try your solution.

okay i will try kvantum theme.

Edit : Installed kvantum theme engine and your theme, everything is working properly and looking great, thanks a lot for making this theme!!

@zevulos
Copy link

zevulos commented May 23, 2019

Im also getting this problem, i have edited the RC file to fix this but the text at the top of windows is black. I have tried chaning Textcolor to 255,255,255,255 for white but it didnt work.

@EliverLara
Copy link
Owner

That should be fixed now!

@ciriousjoker
Copy link

What did you do to fix this issue? The issue seems to be present in a lot of themes, perhaps this fix can easily be ported to other themes.

@EliverLara

@mohkale
Copy link

mohkale commented Oct 22, 2021

Asking again since this is still an issue with many themes.

@dreamcat4
Copy link

dreamcat4 commented May 22, 2022

Asking again since this is still an issue with many themes.

[edit] note: this is for when in Display Settings the 'scaling' slider is set to 125%. And the "Force font dpi" checkbox enabled and set to 128px. This is set because the fonts are too small... So maybe another workaround is to keep the display scaling @ 100%... but then you need to change the fonts each sizes individually (for example 10pt --> 14pt, for each ones etc.).

Am using Otto theme here (but only for window decorations). So this is assuming the theme name 'Otto' is set in 'Appearance' --> 'Window' Decorations'. And that Window Border Size is set to No borders

And the borders are very thick still.

This is what I had to do:

# replace 'Otto' below with YOUR_THEME_NAME
cd ~/.local/share/aurorae/themes/Otto
cp Ottorc Ottorc.bak

And there is a config file there called Ottorc

Find and change the following lines:

# this one is entirely optional
Shadow=true --> change to false

# these are the critical options, all of the 'Padding...' ones
PaddingTop=35 --> change to 32
PaddingBottom=90 --> change to 74
PaddingRight=76 --> change to 66
PaddingLeft=76 --> change to 66

Now go back to the KDE System Settings app. And under 'Appearance' --> 'Window Decorations', you need to switch to a different theme (any other one). And hit 'Apply'. Then go back to your preferred chosen theme (in my example here it's 'Otto'). So you re-select it and then hit 'Apply' button a 2nd time. And it should re-load the theme. And be re-reading the Ottorc config file.

...really have no idea why this works, but it worked for me today. And it was after reading somebody mention the work 'padding'

If you want to play with this options, you will find that drastically changing the padding will show it's a kind of extra shadow border being drawn underneat (behind) the actual core window decorations. To just give some illusion of a drop shadow styling or whatever. Like a background that moves along with the window.

So clearly this bug in plasma 'wherever' now occurs if you see this where this behind box is now being indexed from. It is significantly smaller (shrunk) in dimensions than the actual window itself which it is supposed to be tracking and following. By some large number of pixels (like 30 or 50 pixels).

... i have no idea why this is, or where the bug is occuring in plasma. Please don't shoot the messenger. But there should be a proper bug filed against it to whichever responsibles within kde / plasma people (i believe so?). Or otherwise it's a QT bug and then in the QT libs underneath.

OK please post elsewhere this solution. Like on stack since its not purely specific only to this 1 theme. Many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants