Giter Site home page Giter Site logo

winbar's People

Contributors

jmanc3 avatar pushqrdx avatar seba4316 avatar tea23 avatar thecmdrunner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

winbar's Issues

Winbar not positioned correctly with a secondary monitor on the left side (kde)

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

Clock sometimes gets stuck

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

Icon cache generation crashes with directory without permissions

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

Error message when attempting to access settings

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!

Doubles in size off the screen and becomes unusable with xfwm4

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.
image

Panel is not rendering with compiz

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

Could not grab pointer for the window

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

Hover highlight stays stuck

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

Possible missing license?

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.

[nice to have] Blur or transparent bar

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.

Freezes and doesn't respond

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

Resizing the pinned icon editor is super slow + Pin behavior suggestion

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

Launching nemo crashes winbar

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)

Scrolling sound doesn't changes the volume of current sink

When I have two devices connected, let's say

  • TV (Default) (At the top of devices)
  • Bluetooth Headset (Active) (At the second place)

and then when I scroll the sound icon it changes the sound of Default sink(TV) but not the active one(Bluetooth headset).

Add retry button or retry automatically in sound menu

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.

Segmentation fault when clicking on settings

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

Feature Request: Classic Winbar

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.

Volume Control

As it is good for support for pulseaudio, will there be any support for Default Alsa Volume Management?

Feature suggestion: Ability to change the clock fonts sizes

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!

Application menu does not work properly with two monitors

I have two monitors: 1080p on the left and 1440p on the right.

When I have the monitor layout like this (see image below):
screenshot1

Then the application menu appears on the left monitor and in the wrong position:
screenshot2

But when the left monitor is on the bottom, then Winbar appears on the left monitor and the application menu appears properly:
screenshot3

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?

Don't hardcode thunar

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

Panel crashes on typing in "Apps" search

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

the winbar.cfg file in the zip is probably broken

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

I can't type in search via onboard

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.

Segmentation fault

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!

Bug: selecting window when grouped

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.

Could not grab button on root

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.

packages required for compiling on fedora

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.