jmanc3 / winbar Goto Github PK
View Code? Open in Web Editor NEWA familiar X11 panel/dock to ease new linux users transition
License: GNU General Public License v3.0
A familiar X11 panel/dock to ease new linux users transition
License: GNU General Public License v3.0
Running Ubuntu-Mate 20.04.2 LTS on a Lenovo Thinkpad x250.
Building the deb installer went fine and the application ran when run from the terminal. Trying to access settings however seemed to cause the application to relaunch with the following text in the terminal:
dbus[51534]: Attempted to unregister path (path[0] = org path[1] = freedesktop) which isn't registered
Thank you for the interesting project!
I'm at cf17aa7
I haven't looked at the code, but I guess you are doing some kind of recursive directory listing, and it crashes once it goes into a folder without permissions.
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: status: Permission denied [/usr/share/kwin/shaders/1.40/1.40]
[1] 457259 IOT instruction (core dumped) winbar
As it is good for support for pulseaudio, will there be any support for Default Alsa Volume Management?
xfwm4 4.16.1-3.1, using the winbar-git AUR package, r217.gd1f66c8-1, on Arch Linux with linux-lts 5.15.24-2.1 (though I have seen similar behavior on another device with linux-zen a few months ago)
When opening it in a normal Xfce session, immediately becomes twice the intended size, going off the screen.
When opening with startx winbar & exec xfwm4
, initially shows fine, but no applications will launch, and attempting to open settings makes it double again. When in this state, start and search menus do not appear.
if i change the tab to applications in the search menu and start typing, panel crashes with out of range exception
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace: __pos (which is 1) > this->size() (which is 0)
Aborted
I want pakges to make install easy
im proud of whoever made this thanks for your time :)
As the title says, winbar is not positioning itself correctly with a dual monitor setup, where the secondary monitor is on the left side.
Changing any setting in the display setup, fixes it temporarily until its restarted.
With the second display on the right side, it works perfectly fine.
Here is a short screenrecording demonstrating the issue
https://user-images.githubusercontent.com/472185/146634563-b1d8202b-b720-4f02-bf9c-d143e881cb23.mp4
System Info:
winbar 74f153e
Archlinux with KDE
Kernel 5.15.8-zen1-1-zen
NVIDIA GeForce GTX 970 (495.46)
Resolution: 1920x1080 @ 119.98Hz, 1680x1050 @ 59.95Hz
Many times when I open a start menu and try to do something then winbar freezes in the start menu open state and nothing works not even clicks or anything, It also doesn't update the app icon list section regarding what windows are open.
Then I have to kill and launch it using terminal.
I have tried to capture terminal logs this time, hope it helps:
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Error enumerating devices: Capture Stream did not get ready (Timeout)
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
If my pc opens faster then my TV then it doesn't detects the TV audio output and results in "Failed to connect to pulseaudio" error in menu, but if I restart winbar then it connects successfully, so if it retry automatically on sound menu open or it has a retry button then it would be awesome.
We can get the default interface easily by running this command:
ip -4 route ls | grep default | grep -Po '(?<=dev )(\S+)'
So hardcoding wifi interface is not needed.
Just came across this repo recently. Looks quite impressive so far. I happened to show it to a friend, who keenly pointed out that there...doesn't appear to be any license attached? I'm not sure if this was intentional or not, but figured I'd mention it, just in case it was an oversight after all.
...if it were me, I'd probably go for a permissive license such as MIT, but hey, that's just my two cents.
This is a weird one but launching nemo (through terminal or through winbar) causes it to crash with a free on an invalid pointer, and relaunching winbar while nemo is open always crashes on startup with the same message
free(): invalid next size (fast)
When I try to open a folder via the start menu, I get this terminal output
sh: 1: thunar: not found
I guess you can just xdg-open
instead of thunar
to fix it
I don't know If there is a way to add blur or transparency to the bar, if it is there then I would like to know.
It would also attract most people as this will mostly be featured on linux desktop setup subreddit's.
i am on lxqt using compiz and the panel is invisiable, i can click and see the taskbar and calender etc but the panel itself is invisible for some reason
It would be great if you could create a classic Windows taskbar in the style of Windows 95/98. Maybe you could create a theme for winbar allowing users to switch between the different versions.
So now that the preview getting stuck is fixed, the icon highlight itself is stuck. you can reproduce this by hovering an icon go up to the window preview then leave the area, the icon will stay highlighted
I noticed that winbar uses 500mb+ of virtual memory and it's a bit strange, wonder what maybe the cause of this
Windows and many linux de's have this feature of Super + n => Open the nth app pinned in the task list or switch to it if its already opened.
It would be good if this also has it as this already has super to launch start menu.
Flatpak path is not searched by the menu, Hence No flatpak apps are visible on start menu or searchable via search.
When I open, for instance, three xterm windows, Winbar consolidates them into a single icon. Hovering over this icon in Winbar triggers a tooltip preview of the three xterm windows, and I can select the one I wish to focus on by clicking on it.
However, I occasionally encounter an issue where clicking (or tapping on the touchpad) doesn't yield any response, as if I hadn't clicked at all. Interestingly, if I move the mouse pointer even slightly โ just by one pixel โ the previously clicked window comes into focus and the tooltip previews disappear, exactly as they would have if the initial click was successful.
This behavior looks like a bug.
The pinned icon editor resize is very slow, like window decoration resizes and i can see the UI slowly repaint (but smoothly).
I also have a suggestion about the pinning behavior. I think when i click pin, winbar should pin with the defaults it has (the ones displayed in the editor); Then if i want to edit pinned app later, like in case of wrong options, i can right click > edit pinned app to get the editor
All application icons in the task bar are too big, and every one with a different size, and some go outside it's box
I can't figure out exactly what causes this issue but it happened twice for me already, the time gets stuck even though in the calendar widget it's correct
I used to be a huge fan of a small app called Lclock, which was intended to make a Longhorn type clock\calendar panel for users of Windows XP. I was thinking it might be of interest to you as a possible feature enhancement. There is a somewhat good image of how it looked here:
https://www.deviantart.com/razcalinside/art/RefreshCL-LClock-Skin-27592756
Unfortunately that image there doesn't quite do it justice. I had the hour cranked up as large as the taskbar could take without breaking it and the minutes smaller with the AM/PM resting underneath the minutes. The settings in that image aren't nearly large enough.
Just wanted to suggest it as a possible item of interest. Thanks again for the interesting project!
i can't change anything with the config file, and i always get
Parsing error: /root/.config/winbar/winbar.cfg Line: 474
it works if i remove the themes section, so probably something in there drifted overtime
When clicking on settings in the start menu, I get a segfault. Sometimes the bar disappears and reappears and after clicking it a second or third time I get the segfault
[Detaching after vfork from child process 480633]
[Detaching after vfork from child process 480634]
Thread 43 "winbar" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee5c8640 (LWP 480632)]
0x00007ffff6a539a4 in __strcpy_avx2 () from /usr/lib/libc.so.6
(gdb) backtrace
#0 0x00007ffff6a539a4 in __strcpy_avx2 () at /usr/lib/libc.so.6
#1 0x0000555555647b1a in search_icons(std::vector<IconTarget, std::allocator<IconTarget> >&) (targets=std::vector of length 166, capacity 256 = {...})
at /home/nico/building_stuff/winbar/lib/icons.cpp:483
#2 0x000055555559da63 in paint_desktop_files() () at /home/nico/building_stuff/winbar/src/app_menu.cpp:1070
#3 0x00005555555aa31f in std::__invoke_impl<void, void (*)()>(std::__invoke_other, void (*&&)()) (__f=@0x55555599ed98: 0x55555559d8b4 <paint_desktop_files()>)
at /usr/include/c++/11.2.0/bits/invoke.h:61
#4 0x00005555555aa2d7 in std::__invoke<void (*)()>(void (*&&)()) (__fn=@0x55555599ed98: 0x55555559d8b4 <paint_desktop_files()>)
at /usr/include/c++/11.2.0/bits/invoke.h:96
#5 0x00005555555aa284 in std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55555599ed98)
at /usr/include/c++/11.2.0/bits/std_thread.h:253
#6 0x00005555555aa258 in std::thread::_Invoker<std::tuple<void (*)()> >::operator()() (this=0x55555599ed98) at /usr/include/c++/11.2.0/bits/std_thread.h:260
#7 0x00005555555aa23c in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run() (this=0x55555599ed90)
at /usr/include/c++/11.2.0/bits/std_thread.h:211
#8 0x00007ffff6bc94d4 in std::execute_native_thread_routine(void*) (__p=0x55555599ed90) at /usr/src/debug/gcc/libstdc++-v3/src/c++11/thread.cc:82
#9 0x00007ffff695c5c2 in start_thread () at /usr/lib/libc.so.6
#10 0x00007ffff69e1584 in clone () at /usr/lib/libc.so.6
Let me know if you need any additional information
is this project dead. package couldnt compile no maintaining found
Sometimes the pinned icons get into weird states where they stop animating or something and they end up with corrupted state.
Hello. I have installed winbar to work in xmonad. But when I press the start menu, winbar throws the error "could not grab button on root: 215, for window: 16777314, error_code: 10". I don't know if this a problem with winbar or my configuration of xmonad is bad. Please fix this.
This issue is for the litany of problems that exists with pinned icons.
If soon after the hovered windows selector opens the mouse is moved away quickly, it remains open.
i don't remember what was the taskbar behavior on windows but i feel like if for instance the start menu is open re clicking start button show close it?
Distro: Arch Linux
So most of the applications that you would find in like a menu like Rofi don't appear in the Start Menu using Winbar.
I don't know if Windows 10 has that but it would be good to control bluetooth using status icon rather then using custom scripts or blueman.
Running Ubuntu 20.04. Installed all dependencies and the build went fine. The taskbar works fine other than that, the rest of the module windows appear for a second and report errors as such
Could not grab pointer for the window 27263046
Could not grab pointer for the window 27263055
Could not grab pointer for the window 27263062
Could not grab pointer for the window 27263069
Tested in OpenBox
i was going to record the screen for the slow resizing issue when i ran into this one, for some reason peek crashes winbar and if i try to restart it it prints that error
I am still getting this with a fresh master + latest winbar.zip, it's because of the trailing comma at line 678
git cmake g++ cairo-devel pango-devel librsvg2-devel xcb-util-devel pulseaudio-libs-devel xcb-util-wm-devel libxkbcommon-x11-devel libconfig-devel xcb-util-cursor-devel dbus-devel xcb-util-keysyms-devel
I have two monitors: 1080p on the left and 1440p on the right.
When I have the monitor layout like this (see image below):
Then the application menu appears on the left monitor and in the wrong position:
But when the left monitor is on the bottom, then Winbar appears on the left monitor and the application menu appears properly:
I tried this first with Openbox, but it produces the same thing when the left monitor is at the top.
Some packages installed on Arch Linux:
xorg-server, xorg-xinit, xorg-xkbcomp, xorg-xrandr, amdgpu driver, linux-zen, as well as the ones listed before installing Winbar
Could this be due to missing configuration on my part?
This project is simply awesome! :)
I compiled winbar on Debian.
First thing, it is missing several packages, I installed all as specified for ubuntu, and Debian needs these extra:
libcurl4 libcurl4-openssl-dev libxcb-xinput-dev libxcb-xinput0
Now, when I use compiled winbar binary, I get segmentation fault in most cases.
But when I use 'strace winbar' to see what system calls are happening, it seems to work mostly. Strange.
In all cases, sometimes I get some errors before segfault. For example
Glib-GObject-WARNING **: 20:02:14.874: class of invalid type '(null)'
or
Pango-CRITICAL **: 19:59:50.995: pango_shape_internal: assertion 'paragraph_text + paragraph_length >= item_text + item_length' failed
Hope you can do something about it :) Let me know please if I can provide any debug info. Just keep in mind I have no idea how to debug software so you may need to provide more detailed instructions.
Thanks!
First of all, congrats on your nifty project. I liked it.
I am on Ubuntu mate 20.04 platform. For some reason I need to use onboard virtual keyboard, but it's impossible to type in search box because it loses focus and search box gets hidden immediately.
I hope you fix it.
All the best.
When I have two devices connected, let's say
and then when I scroll the sound icon it changes the sound of Default sink(TV) but not the active one(Bluetooth headset).
It won't let me type
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.