Commit Graph
147 Commits
Author SHA1 Message Date
loner 61043b78a5 feat(bar): Introduce core density scaling mechanism 2025-10-16 09:52:47 +08:00
ItsLemmy 7a4fa03eb2 Revert "Merge pull request #471 from dwuggh/auto-hide-bar"
This reverts commit 0e18194094, reversing
changes made to 8ff7086321.
2025-10-14 20:39:05 -04:00
dwuggh bc2e4e45bb Merge branch 'main' into auto-hide-bar 2025-10-14 18:13:00 +08:00
ItsLemmy 292ecd493b More cleanup 2025-10-12 09:33:04 -04:00
ItsLemmy f4b27380c3 Qt-Scaling: first cleanup pass 2025-10-12 08:23:24 -04:00
dwuggh 52f0f6d44c fix: hold bar to be visible of a popup from the bar is shown 2025-10-12 19:26:02 +08:00
dwuggh abd9586def fix(bar): keep bar visible while hovering any widget by using HoverHandler on container instead of relying on background MouseArea
Problem: Parent MouseArea sat below bar content, so when the pointer hovered a child widget that handled hover, the parent did not see hover and barHovered became false, causing auto-hide to trigger unexpectedly.

Solution: Add a non-invasive HoverHandler on the bar container to drive barHovered, without stealing events from child widgets. Remove hover handling from the background MouseArea (kept for right-click).

Also respects auto-hide timers (cancel on enter; restart on exit).
2025-10-12 04:00:45 +08:00
dwuggh afcad54fec respect the global disable animation option 2025-10-12 03:37:26 +08:00
dwuggh 62000eec1e feat: option to auto-hide the bar with edge hover reveal
- Keep bar as overlay while auto-hide is enabled (WlrLayershell.exclusionMode: Ignore) to avoid compositor relayouts and work-area changes.

- Add 1px edge "peek" PanelWindow overlay to reveal on hover;

- Animate bar with directional slide.
2025-10-12 02:33:24 +08:00
ItsLemmy f7e1fe4e0f Bar: minor memory optimization 2025-10-04 08:56:05 -04:00
ItsLemmy cd7ac2b243 NPanel: reverted yesterday fix, trying another fix. 2025-10-03 22:03:56 -04:00
ItsLemmy 9ed9231070 Init Sequence: removed a bunch of no longer necessary Settings.isLoaded 2025-09-29 09:11:37 -04:00
ItsLemmy 072d80e2f3 Bar vs Dock: Dock are loaded only once the bar is fully loaded. This ensure the vertical bar use the full screen height if the dock is exclusive. 2025-09-28 16:39:23 -04:00
ItsLemmy cb3fc1a45c Bar: Right clicking the bar will open the ControlCenter 2025-09-25 17:18:07 -04:00
ItsLemmy 36489491e4 Bar new IPC: ipc call bar toggle 2025-09-24 22:18:22 -04:00
LemmyCook 06b858a77e Autoformatting 2025-09-19 11:05:35 -04:00
LemmyCook 658b583e84 Floating bar: On the perpendicular axis of the bar: only apply the floating margin between the screen and the bar. This will avoid people having to deal with struts and gaps.
- ex: if bar is on top, the vertical margin will only be applied between
the top screen edge and the bar, not extra margin below the bar
2025-09-19 11:05:15 -04:00
LemmyCook 860e721709 Hotfix: do not filter our the screenrecorder indicator, as it messes with widgets index and settings. 2025-09-18 23:12:35 -04:00
LemmyCook 891c8660e3 Properly hide ScreenRecorderIndicator when inactive (no spacing) 2025-09-18 22:05:55 -04:00
LemmyCook 8af8bf2e2e BarService: to keep tracks of bar widgets and improve IPC behavior. 2025-09-17 10:19:55 -04:00
LemmyCook 5f3add5d99 autoformatting 2025-09-15 22:56:22 -04:00
LemmyCook 47ef62beb3 Widgets Sizing: reworked our sizing approach to prepare for different bar densities. 2025-09-15 22:33:09 -04:00
LemmyCook f399a6d9f5 TrayMenu: improve tray opening direction in vertical bar more 2025-09-14 22:44:27 -04:00
LemmyCook 2f7a834b55 Bar: fix centering (againg) 2025-09-14 21:55:21 -04:00
LemmyCook eca301553e Bar: better vertical centering on horizontal bar. 2025-09-14 21:51:43 -04:00
Ly-sec b3abe44d65 Bar: remove Qt5Compat import 2025-09-14 21:37:56 +02:00
LemmyCook dd100597ed SysMon: better lookin 2025-09-14 15:05:34 -04:00
LemmyCook 3764edafa8 Widgets: improved centering 2025-09-14 14:35:15 -04:00
ItsLemmy e6372a2473 VerticalBar: smaller spacing and margin 2025-09-14 07:21:49 -04:00
Ly-sec ccd7458ea3 KeyboardLayout: fix language detection/parsing
Bar: add a tiny bit more spacing between widgets
NHorizontalPill: fix layout
MediaMini: set size to 0 if no media is playing
2025-09-14 10:21:53 +02:00
Ly-sec 1ee14df915 Make things more readable 2025-09-14 09:05:51 +02:00
LemmyCook 1157c8e21d FloatingBar: Wip 2025-09-13 22:04:36 -04:00
Ly-sec 9dfac69e9e More spacing fixes 2025-09-13 19:28:44 +02:00
LemmyCook de72236fe5 Merge branch 'main' into vertical-bar 2025-09-13 13:06:21 -04:00
LemmyCook 101e3125a9 Vertical bar: simpler management 2025-09-13 13:06:17 -04:00
Ly-sec 2a1e7832d6 Revert 8c81514 2025-09-13 17:44:31 +02:00
Ly-sec 8c815146e6 More fixes 2025-09-13 17:34:13 +02:00
LemmyCook 335e38d461 Floating Bar: simplified settings 2025-09-13 10:16:54 -04:00
Ly-sec ee50d84a53 Fix spacing for vertical bar 2025-09-13 15:51:21 +02:00
Ly-sec e706dabef3 Add BarService, use signals to check state of bar and update widgets accordingly 2025-09-13 15:31:23 +02:00
Ly-sec dcedae46e5 Horizontal bar: try to get better spacing 2025-09-13 15:21:36 +02:00
Ly-sec 4f5acb7114 First iteration of vertical bar 2025-09-13 14:26:20 +02:00
Ly-sec 6f6a5b364a Bar: proper top/bottom margin check 2025-09-13 10:55:14 +02:00
Ly-sec 50d8b54adf Bar: add floating setting 2025-09-13 10:11:57 +02:00
LemmyCook 7d2eaa46e6 qmlfmt: increase line-length to 360 to avoid hard-wrap.
+ cleaned up power menu/panel
2025-09-12 21:07:11 -04:00
LemmyCook 380f31fbd9 BaBar Widgets: pass a proper section name instead of a longer string. 2025-09-12 12:54:09 -04:00
LemmyCook 517c7c97d4 Bar Widgets FrontEnd: Simplified access to editable widget settings 2025-09-07 22:23:45 -04:00
LemmyCook e5aee79d47 Removed all layer.enabled as they do not play well with fractional scaling. 2025-09-04 20:36:32 -04:00
LemmyCook 7ed4c209fe Optims: replaced a bunch of Qt.rgba by Qt.alpha 2025-09-04 11:06:54 -04:00
LemmyCook 00d3f81aa1 Bar: check if new widget modelData is available to avoid warnings. 2025-09-04 08:35:57 -04:00