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

Green button gets bugged in full screen in OpenBox. #32

Open
tuxslack opened this issue Sep 23, 2024 · 7 comments
Open

Green button gets bugged in full screen in OpenBox. #32

tuxslack opened this issue Sep 23, 2024 · 7 comments

Comments

@tuxslack
Copy link

tuxslack commented Sep 23, 2024

Problem:

Green button gets bugged in full screen.

O botão verde fica com erro em tela cheia.

problema com tema em janela cheia

Change OpenBox window size via obconf:

problema com tema em janela cheia1

Change to size 11.

@Elbullazul
Copy link
Member

does it still happen if you change the order of the buttons?

@tuxslack
Copy link
Author

tuxslack commented Dec 2, 2024

does it still happen if you change the order of the buttons?

How does being change the order of the buttons?

Thanks

@Elbullazul
Copy link
Member

see here: https://openbox.org/help/Configuration

look for the titleLayout property

@tuxslack
Copy link
Author

tuxslack commented Dec 5, 2024

Yes, the problem repeats itself even when changing the position of the buttons. It occurs in full screen.

nano ~/.config/openbox/rc.xml

NLICM

theme: macOS-master

Captura de tela_2024-12-05_02-12-30

screen

1920x1080

@Elbullazul
Copy link
Member

Elbullazul commented Dec 6, 2024

is it still bugged if you delete the max.xbm file in the openbox folder and replace it with a copy of close.xbm?

@tuxslack
Copy link
Author

tuxslack commented Dec 7, 2024

is it still bugged if you delete the max.xbm file in the openbox folder and replace it with a copy of close.xbm?

Yes

I removed the ~/.themes/macOS-master/openbox-3/max.xbm file and replaced it with a copy of ~/.themes/macOS-master/openbox-3/close.xbm

The problem still appears when the screen is maximized in OpenBox.

Could the problem be related to the rendering of icons in Openbox?

Void Linux.

@tuxslack
Copy link
Author

tuxslack commented Dec 7, 2024

The problem seems to be in the macOS-master themerc file

Copy the MintX themerc file to ~/.themes/macOS-master/openbox-3/

Now we just need to make the themerc file look like macOS

cat ~/.themes/MintX/openbox-3/themerc

!! Menu background
menu.items.bg: flat 
menu.items.bg.color: #fefefe

!! Menu text
menu.items.text.color: #212121
menu.items.justify: left
menu.items.disabled.text.color: #606060

!! Menu headers
menu.title.bg: vertical gradient flat
menu.title.bg.color: #bcdd9a
menu.title.bg.colorTo: #accd8a
menu.title.text.color: white
menu.title.text.justify: left

!! Selected menu item
menu.items.active.bg: flat
menu.items.active.bg.color: #accd8a
menu.items.active.text.color: #fefefe

!! Titlebar
window.active.title.bg: flat splitvertical gradient
window.active.title.bg.color.splitTo: #e4e4e4
window.active.title.bg.color: #dcdcdc
window.active.title.bg.colorTo: #dbdbdb
window.active.title.bg.colorTo.splitTo: #d6d6d6
window.inactive.title.bg: gradient splitvertical gradient flat
window.inactive.title.bg.color: #dcdcdc
window.inactive.title.bg.colorTo: #dbdbdb
window.inactive.title.bg.color.splitTo: #e4e4e4
window.inactive.title.bg.colorTo.splitTo: #d6d6d6

!! Titlebar text
window.label.text.justify: center
window.active.label.bg: parentrelative
window.active.label.text.color: #343434
window.inactive.label.bg: parentrelative
window.inactive.label.text.color: #747474

!! Window buttons
window.*.button.*.bg: parentrelative
window.active.button.*.hover.bg: parentrelative
window.inactive.button.*.hover.bg: parentrelative
window.*.button.*.pressed.bg: flat parentrelative

window.active.button.*.hover.image.color: #accd8a
window.active.button.*.pressed.image.color: #accd8a

window.active.button.*.image.color: #343434
window.inactive.button.*.image.color: #747474

!! Borders
window.active.border.color: #d6d6d6
window.inactive.border.color: #d6d6d6
border.width: 1
padding.width: 3
window.handle.width: 0
window.active.client.color:  #d6d6d6
window.inactive.client.color:  #d6d6d6
window.client.padding.width: 2
window.client.padding.height: 2
menu.overlap: 0


!! On-screen displays
osd.bg: gradient vertical flat
osd.bg.color: #444444
osd.bg.colorTo: #343434

Captura de tela_2024-12-07_14-23-51

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

No branches or pull requests

2 participants