Closed JC7897 closed 4 years ago
But couldn't you use TitleBarVertOffset
to overcome this problem?
# Vertical offset for the window title text
These themes use it: CoolSteel, Crunchy-grey, Crunchy-orange, DarkT_II, IceClearlooks2, IceClearlooks2-Magi, IceNumix3-Aqua, LunaDotHome, OpenLook-shaped, Sky, Smooth_Aqua, Trisquel, lovena, motif-dark.
No i don't believe that will work. This is what happen if change TitleBarVertOffset +5/-5.
TitleBarVertOffset +5
TitleBarVertOffset -5
But i noticed that IceNumix3-Aqua does not have any title.xpms. He only made the frame.xpms. Could that why you are getting better frame positioning with that theme? I could try and remove the title.xpms and make just the frame but i guess that will have to wait until later on today.
UPDATE: Removing the title xpms will not work for CrystalBlue or any other theme that is using multi colors for the title bar. The reason IceNumix3-Aqua works without the title xpms is because it's using one color which i believe is set in the default.theme. If i remove the title xpms on CrystalBlue, i get a solid blue bar not a gradient, which i can only change to another solid color.
The theme IceNumix3-Aqua uses Look=flat. That is why it can go without title xpms. For CrystalBlue and Illuminate-ice you need a much smaller value for TitleBarVertOffset. -2, or +2 or so. Illuminate-ice is an especially suitable test theme, because it has an empty top side mask of 9 pixels!
This is what i got.
This what Illuminate-ice should look like.
This is Illuminate-Ice with the 9 transparent pixals removed. (notice the 9 extra pixaps are on top of the titlebar)
This is Illuminate-Ice with the 9 transparent pixals removed and TitleBarVertOffset at -10.
This is Illuminate-Ice with the 9 transparent pixals removed and TitleBarVertOffset at +10.
The only way i found to take into account the 10 BorderSize and not use the 9 transparent pixals was to change the TitlebarHeight to 20 and keep the bordersize at 10 but there is a problem with that. The problem is that since the title bar is smaller you would need to draw half the button on the Close,Maximize,Minimize and Restore buttons and the other half of the button on the frame which can not be done. The only other option is to redo the buttons a lot smaller and changing the look of Illuminate-ice.
I think for CrystalBlue i might be able to do that without changing the look but i will need to redo the theme but i can not do that for Illuminate-ice.
OK, sounds good.
Ok i think i have corrected the issue but i did run into another issue with the workspace buttons.
This is the way i intended it to look. Which is the 1st CrystalBlue theme.
This is how it looks like in slackware current. It looks like the spacing in the fonts changed.
So i made CrystalBlue-default.zip without the nice workspace buttons i made.
Try this one first. CrystalBlue.zip
But if you have issues with workspace buttons, use this one instead. CrystalBlue-Default.zip
Is there a version of icewm which shows your CrystalBlue.zip as your 1st CrystalBlue? None of the ones I tried did. If you want your buttons like the 1st, then you could simply add the workspace buttons as Gradients:
Gradients="menubg.xpm dialogbg.xpm workspacebuttonactive.xpm workspacebuttonbg.xpm"
There is a problem with:
DesktopBackgroundImage= "/usr/share/wallpapers/wallpaper-00.jpg"
This may not exist, but it may override some user setting in preferences.
This new one should be correct expect for the wallpaper-00.jpg. The reason i don't share the wallpaper is i did not make it and i don't know where i got the picture from.
CrystalBlue
Make sure you remove the old CrystalBlue package in your /usr/share/icewm/themes location. It's provably conflicting with the CrystalBlue in your /home/user/.icewm directory.
Should be fix. Closing.
Should be fix. Closing.
Could it perhaps be that titleAJ.xpm, titleAQ.xpm, titleIJ.xpm and titleIQ.xpm are missing? There are some artefects on the left and right side of the titlebar.
There are small dots in the corners of the titlebar. See image. The buttons of the message dialog may need to become gradients?
The small dots in the corners are transparent spaces that i use to make the theme have a rounded corner. For some reason the theme appears to have lost transparency. I don't think i need the title?J and title?Q.xpms. This what i get.
Icewm-1.7.0.98.
I can add them just incase but they should not be needed. However since i see a minor color issue with buttons i try and make a new CrystalBlue download later on today.
You can try and see if this new version fixes the issue.
Sorry i forgot to fix the color issue. Try this download.
The dialog buttons are no good yet. See image. Also, the theme modifies desktop background settings, even though it doesn't provide a background image. It should leave the desktop background settings untouched. Then users can set them in their preferences.
The dialog buttons might look better if i add taskbuttonbg.xpm to the gradients but it's still not going to look correct. The reason is because icewm does not use a dialogbuttonbg.xpm so it just uses the taskbuttonbg. With the background image i will remove DesktopBackgroundImage="" and DesktopBackgroundScaled=1 from the default.theme.
Here is CrystalBlue.
The case is that this theme doesn't provide buttonA.xpm or buttonI.xpm. The solution for the dialog buttons would be to add buttonA.xpm and buttonI.xpm to Gradients.
Ok here is a new CrystalBlue download.
Nevermind the other download i got it to upload here. Use the CrystalBlue in the post above.
Looks good! :+1:
If you like, you could test the new MiniIcons. Play with:
MinimizeToDesktop=1 # 0/1
MiniIconsPlaceHorizontal=1 # 0/1
MiniIconsRightToLeft=1 # 0/1
MiniIconsBottomToTop=1 # 0/1
I'll check it later but right now there seems to be an issue with CrystalBlue not adding the files i added on icewm-1.7.0.113. I can see the files in the icewm/lib/themes/CrystalBlue directory but when i make icewm the files are missing.
This should be fixed now. The titlebar corners are in some other color and have a hole: When I set Alpha=1 with compton I get this: and this: The button pixmaps are too translucent?
This is what i get with alpha = 1 and compton. I can't replicate "The titlebar corners are in some other color and have a hole.".
CrystalBlue + Alpha 1 + Compton
Ater-Ice-Hybird + Alpha 1 + Compton
I don't know why some xpms are transparent while others are solid color. I made the xpms in gimp.
BTW: If i try switch icewm themes with compton on the screen sometimes keeps flickering and will not load the icewm. Not sure if this is related but i did see this in my logs when i hit CTRL+ALT+Backspace.
01:26:16.922: icewm-session: icewm exited with status 1.
The transparency issue has to do with gradients. I made an issue here about it.
Hey i see a bit of a color issue with the close.xpm. This should fix slightly different color with the close.xpm.
Hello gijsbers,
Here is the problem with CrystalBlue +3 empty pixal rows.
The BorderSizeX and BorderSizeY controls the size of frame not the frame xpms. This means that if you put BorderSizeY = 0 you will get no added size to top and button frames even if you have a frameAB.xpm with a size of 5 pixals you will not see it because the BorderSizeY is at 0. The BorderSizeY would need to be set to 5 so you can see the 5 pixals of the frameAB.xpm. With the frameAT.xpm the BorderSizeY will start at top of frameAT.xpm and place 5 pixals on top of the frame which is different to the bottom because there is no title frame at the bottom.