Alex
892ab479ba
group: disconnect pending reveal timeout in destructor to fix UAF
...
With reveal-delay set, handleMouseEnter arms a Glib::signal_timeout that
captures 'this'. sigc::connection's destructor does not remove the GLib
source, so a Group destroyed with a pending reveal timer would fire the
timeout on freed memory. Add a destructor that disconnects reveal_timeout_.
2026-07-05 10:13:24 +02:00
Alex
328b6dc017
Merge remote-tracking branch 'origin/master' into pr-4014
...
# Conflicts:
# include/group.hpp
# src/group.cpp
2026-07-04 00:54:02 +02:00
Alex
ef050a343f
Merge remote-tracking branch 'origin/master' into pr-4941
...
# Conflicts:
# include/group.hpp
# man/waybar.5.scd.in
2026-07-04 00:36:57 +02:00
Alex
665b07209e
Merge remote-tracking branch 'origin/master' into pr-4060
...
# Conflicts:
# man/waybar.5.scd.in
2026-07-03 23:50:55 +02:00
Alexis Rouillard
0791ddd7d1
Merge pull request #4977 from Diax170/drawer-state
...
Add CSS selector for expanded drawers
2026-07-03 23:01:26 +02:00
Alex
e2d4f3c69e
Merge remote-tracking branch 'origin/master' into group-reveal-by-default
...
# Conflicts:
# src/group.cpp
2026-07-03 22:38:46 +02:00
cebem1nt
ab7bc8de1c
feature: group - add reveal-delay config option for drawer
2026-04-18 13:34:29 -03:00
OliMoli
66cb828bf8
Add CSS selector for expanded drawers
2026-04-07 14:02:10 +02:00
Jakob Sjudin
ba23ef6487
Add .empty css class to group if it is empty
2026-03-20 11:27:58 +01:00
Jakob Sjudin
50c1431348
Add start-expanded option to group
2026-03-19 15:36:32 +01:00
cebem1nt
40200afb68
fix: owerwrite handleScroll to remove any scrolling handling from group module
2026-02-06 14:43:12 -03:00
cebem1nt
68cbb507d9
fixing crash on group scrolling
2025-10-24 21:57:58 -03:00
ErrorNoInternet
2e23147215
feat(group): add reveal-by-default option
2025-08-15 12:25:38 +08:00
Piotr Piwoński
67df5f5838
feat(Group): enhance widget visibility management - set visibility instantly on module update using dynamic signal handling.
...
Improve performance - manage the visibility of updated module only instead of iterating over all modules on `hide_group`.
2025-03-30 14:49:07 +00:00
Piotr Piwoński
653732dfc6
fix(Group): update always visible modules logic to use dynamic class reference
2025-03-28 21:30:36 +00:00
Piotr Piwoński
6a7b4af78a
feat(Group): add dynamic drawer hiding modules based on module's class.
...
Add `always-visible-class` to config.
Update the drawer on `hide_group`.
2025-03-28 20:56:22 +00:00
Austin Horstman
17f07b2452
group: proper fix of enter/leave
...
Ignore mouse leave event when we are still within the parent element
2024-08-02 23:37:52 -05:00
Austin Horstman
3ae81d62bc
group: fix hover regression
...
We aren't including the hover detection on the revealer, so when the
animation fires we fire the leave event which starts an infinite loop of
enter/leave while we watch boxes move back and forth.
2024-08-02 23:06:53 -05:00
Austin Horstman
4efa123183
group: clang-tidy
2024-08-02 23:06:53 -05:00
Rene D. Obermueller
e2e5d4d447
feat/issue 3256: Toggle drawer state
2024-07-10 07:42:18 +02:00
Austin Horstman
14c3235c12
src: clang-tidy
2024-07-02 10:38:58 -05:00
Alex
0572e02d7e
fix: lint
2024-05-06 10:51:30 +02:00
Lars-Ragnar A. Haugen
e7779b5458
feat( #3174 ): hover for whole group ( #3201 )
...
* feat(#3174 ): hover for whole group
* fix: target eventbox for class also
* fix: actually no reason to add handler, just override AModule
* fix: actually remove existing handler as well
drawer functionality still works from my testing. anything else to think
abotu?
* revert: keep id and class on original box
* refactor: clang-format group.hpp
* dev: try stop workflow
2024-05-06 10:51:03 +02:00
Viktar Lukashonak
d7d4dca6ba
libcava bump 0.10.1
...
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com >
2024-02-17 18:20:03 +03:00
Jannik
08b32cb901
Removing unnecessary parts of transition_type handling
2024-02-04 16:17:06 +01:00
Jannik
029b380c15
Fix: drawer not appearing on configured side
2024-02-02 20:54:16 +01:00
Brenno Lemos
05b97e9ec2
fix: add hover handler to every element in the group drawer
2023-10-14 22:13:01 -03:00
Brenno Lemos
5a380da3bb
chore: remove redundant else statement
2023-10-14 18:39:42 -03:00
Brenno Lemos
5e44cb6ba2
refactor: move signal handler adding into separate method
...
fix: typo in handleMouseHover method name
2023-10-14 18:30:27 -03:00
Brenno Lemos
fad858782c
feat: improve drawer configuration
2023-10-14 18:24:50 -03:00
Brenno Lemos
5246ab15cb
feat: add drawer bool option to group
2023-10-14 17:17:52 -03:00
Brenno Lemos
bbb7fb0c82
refactor: don't use a group's box directly in bar
2023-10-14 13:23:11 -03:00
Bao Trinh
f5a24d12e5
group module: configurable orientation
...
currently, the orientation of group modules is always the opposite of
the bar. Change it so that:
* the default orientation of the group module is always the opposite of
its parent, even for nested groups
* the orientation can be overridden in the config
* css ID and class are set for the group element
2022-09-03 18:37:35 -05:00
Alex
f2fcadbf62
refactor: lint
2022-04-06 08:37:19 +02:00
Nicolas Joyard
0c18e57937
add group feature
2021-11-25 12:01:17 +01:00