Commit Graph
162 Commits
Author SHA1 Message Date
ItsLemmy 3ff5b7639f Switched to qmlformat. 2025-11-16 17:07:03 -05:00
ItsLemmy cc08bc320e Bar: Fix potential blurry icons due to half pixel misalignment. 2025-11-12 13:14:38 -05:00
ItsLemmy 877f517a02 Bar: reimplemented hairline gap safety. 2025-11-11 06:21:58 -05:00
ItsLemmy 6f215b4265 BarContent: better margins-anchoring management 2025-11-09 18:39:15 -05:00
ItsLemmy 15539e1445 MainScreen: Bar content is in its own PanelWindow 2025-11-09 12:28:00 -05:00
ItsLemmy 355271768c Services in subfolder + cleanup/fixes 2025-11-08 16:38:43 -05:00
ItsLemmy 19463f4395 ControlCenter: fix/improve opening position 2025-11-07 10:47:28 -05:00
ItsLemmy b51af0f548 Memory optimizations 2025-11-06 15:24:01 -05:00
ItsLemmy e29c6ee1a6 Refactor: Panels and Bar background are now drawn separately with Shapes. 2025-11-06 10:41:48 -05:00
Sébastien Atoch d3b4d2427a Bar: fix potential gap to the right of a right positioned bar with fractional scaling. 2025-11-04 10:56:44 -05:00
ItsLemmy fd79f75fd5 Shell/Bar: create full screen window everywhere so there is no limitations. 2025-11-04 10:19:00 -05:00
ItsLemmy dc69d1f1e6 Bar: fix 1px gap between bar an panel on right and bottom orientation 2025-11-04 09:49:11 -05:00
Sébastien Atoch 057693fae3 Bar/NPanels Improvements
- Fix potential hairline gap with fractional scaling
- Apply auto-snap rules even to centered anchored panels
- Improving animations and sizing
2025-11-04 00:33:29 -05:00
ItsLemmy 36192717f4 Shadows: Unified in NFullScreenWindow 2025-11-03 07:22:57 -05:00
ItsLemmy 101b27fcc7 New windowing system
Large commit that totally refactor of the way we handle the bar and
panels.

Testing should focus on Panels, Bar, Keyboard Focus, IPC calls.

Changes brief:
- One NFullScreenWindow per screen which handle it's bar and dedicated
panels.
- Added shadows
- Reintroduced dimming
- New panels animations
- Proper Z ordering
- Panels on overlay laywer is not reimplemented, if we do it then the
bar will be on the Overlay too
- Panel dragging was not reimplemented, to be discussed before
reimplementing
- Still a WIP, need to work more on shadows and polishing + debugging.
2025-11-03 00:53:02 -05:00
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