Comments (5)
Will look into
from winbar.
As I feared would happen, I wasn't able to reproduce your issue. I installed Ubuntu 20.04.3 LTS on a virtual machine, updated and upgraded all the packages, git cloned Winbar, installed all the compilation dependencies, unziped the icons, and ran the install script and then tested it out on both Openbox and GNOME and everything worked fine: popup menus didn't close after opening them.
Do me a favor and open the file: "src/taskbar.cpp"; go to line 3031; and change it from:
Line 3031 in 24323aa
To:
printf("Could not grab button on root: %d, for window: %d, error_code: %d\n", app->screen->root, window, error->error_code);
recompile (run the install script again, that is)
and show me what it prints then.
from winbar.
Sorry for the late reply , i lost my previous ubuntu install . But im using Debian 11 bullseye as of now and I did exactly what you said , here is the output when i click random bar modules
Could not grab button on root: 417, for window: 96469028, error_code: 10
Could not grab button on root: 417, for window: 96469037, error_code: 10
Could not grab button on root: 417, for window: 96469044, error_code: 10
Could not grab button on root: 417, for window: 96469056, error_code: 10
Could not grab button on root: 417, for window: 96469075, error_code: 10
Could not grab button on root: 417, for window: 96469083, error_code: 10
What I suspect is that there is some X
org related dependency that is missing, i usually build apt debian ubuntu systems through the debootstrap way where I have declared not to install suggested and recommended packages. So i donot have the entire xorg meta package. It would be great if you could tell me what specific package I am missing : )
from winbar.
That error code means that "Another client has already issued a GrabButton with the same button/key combination on the same window." How exactly that's occurring, I don't know, and because I can't debug it locally, I won't be able to figure it out, unfortunately.
I think you might be on to something with your suggesting that it's a missing package problem but, it seems unlikely to me that the function that is generating the error xcb_grab_button_checked is missing a dependency or something. Especially with the error code it gives, which makes it seem like someone else (the window manager I expect: GNOME, Openbox, or whatever) is grabbing the mouse, for some reason, before we can.
The reason we close the menu instead of just letting the program continue as if everything was okay is because if we can't take ownership of the mouse when the menu is opened, then we won't know when you click somewhere outside of it and be able to close it for you. That'll mean the window will be left open---unable to be closed.
A test you could run is to remove the line that is right after the one I told you to change and see what happens.
It will be the one that says:
client_close_threaded(app, client);
But the real fix to the problem can only come if I figure out some way to reproduce it on my end and can debug it.
from winbar.
Happened just as you said , turns out it was due to an imwheel session that i was running. My bad : ) Thanks for the support. Nice project btw
from winbar.
Related Issues (20)
- Freezes and doesn't respond HOT 10
- [request] Add bluetooth icon either in status bar HOT 1
- Super + 1, Super + 2 to switch windows or open from the pinned ones HOT 1
- Icon cache generation crashes with directory without permissions HOT 2
- Don't hardcode thunar HOT 2
- Segmentation fault when clicking on settings HOT 5
- [nice to have] Blur or transparent bar HOT 5
- Add retry button or retry automatically in sound menu HOT 2
- Could not grab button on root
- Doubles in size off the screen and becomes unusable with xfwm4 HOT 4
- I can't type in search via onboard
- couldnt compile anymore on arch HOT 1
- Windows 11 support
- Segmentation fault HOT 5
- Bug: selecting window when grouped HOT 2
- Can't find a way to change the clock to look more like Windows HOT 3
- [Feature] Moving/disabling taskbar buttons HOT 9
- Segmentation fault upon opening start menu HOT 2
- Is there a way to validate if winbar is successfully installed HOT 1
- Segmentation fault on Ubuntu 22.04 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winbar.