Commit Graph
113 Commits
Author SHA1 Message Date
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
ItsLemmy 371e1d522f Autofmt 2025-11-01 09:52:08 -04:00
Ly-sec b36a2cad53 NPanel: comment dropshadow 2025-11-01 13:43:32 +01:00
Ly-sec ebde2de33b Revert "Npanel: fix shadow that overlaps on bar"
This reverts commit 6c6d6e54d4.
2025-11-01 13:36:20 +01:00
Ly-sec 6c6d6e54d4 Npanel: fix shadow that overlaps on bar 2025-11-01 13:15:09 +01:00
ItsLemmy 399ae2e42f NPanel: Subtle dropshadow test 2025-11-01 00:26:47 -04:00
ItsLemmy 1a124cf655 Colors: 2 news colors, mHover+mOnHover - autocomputed. Using them for all hovers instead of mTertiary. 2025-10-31 23:32:10 -04:00
ItsLemmy 82c6578a9f CalendarPanel: better auto sizing. 2025-10-31 16:45:27 -04:00
ItsLemmy 691dcc9c97 NPanel: better logic for auto detaching. 2025-10-31 16:20:38 -04:00
ItsLemmy c036ff0d7a NPanel: if bar opacity < 33%, detach panel from bar and dont match bg opacity. 2025-10-31 16:12:41 -04:00
ItsLemmy 066d6f2e2f DimDesktop: removed in favor of nice curvy corners on panels 2025-10-31 10:53:59 -04:00
ItsLemmy b7dc1aed84 Calendar Panel: improve look when bar is transparent + NBox simplification. 2025-10-31 08:17:46 -04:00
ItsLemmy 336deba554 NPanel: improve look at zero opacity 2025-10-31 06:56:28 -04:00
ItsLemmy aa30e90ec7 NPanel: use bar bg color when attached. 2025-10-31 01:01:55 -04:00
ItsLemmy 3b63384a51 Floating bar: better look when attachedPanels 2025-10-31 00:54:02 -04:00
ItsLemmy abf346e485 feat: NPanel + Calendar - added dynamic resizing 2025-10-31 00:17:36 -04:00
ItsLemmy d4be3a2cc2 qmlfmt 2025-10-30 23:46:00 -04:00
ItsLemmy 0cdc5bd518 NPanel: restore outter border on panels without sexy borders + minor polishing. 2025-10-30 22:49:36 -04:00
ItsLemmy 64dcb0d34e Panels: beautifull NRectangleCurved shape - conditionnal with a new settings, default is true. 2025-10-30 22:42:12 -04:00
ItsLemmy 9003c60667 DirectWidgetSettingsPanel 2025-10-22 09:39:24 -04:00
ItsLemmy d820116a06 NPanel: accept all buttons to close panel (click outside) 2025-10-21 20:50:55 -04:00
ItsLemmy c9bbaf4c91 Borders: optim/simplification of scaled borders 2025-10-21 13:52:19 -04:00
Damian D'Souza 47bb77f103 NPanel: add persistent useOverlay property 2025-10-20 22:05:13 +02:00
Damian D'Souza eba6c7ec27 NPanel: revert NPanelWindow change 2025-10-20 21:44:19 +02:00
Damian D'Souza 56dc0d70de NPanel: extract PanelWindow to separate reusable component 2025-10-19 13:22:34 +02:00
Damian D'Souza 4df7fedc53 NPanel: make panels open in overlay layer 2025-10-17 19:52:46 +02:00
lysec 838491ba33 Logger: huge cleanup 2025-10-16 15:07:11 +02:00
ItsLemmy 292ecd493b More cleanup 2025-10-12 09:33:04 -04:00
ItsLemmy 6a6a8b3f10 NPanel: fix animation glitch due to deactivating loader 2025-10-12 09:16:38 -04:00
ItsLemmy f4b27380c3 Qt-Scaling: first cleanup pass 2025-10-12 08:23:24 -04:00
lysec b4a344b0b5 ControlCenter: fix scaling (pass scaling to everything) 2025-10-12 10:25:52 +02:00
ItsLemmy df6fdf3656 Fix NPanel scaling on Qt6.10 2025-10-11 11:28:03 -04:00
lysec 88c5eabe59 NPanel: fix bar overlap when scaling 2025-10-07 17:10:54 +02:00
ItsLemmy 6ae8db3068 ControlCenter: new layout with all shortcuts on top for quicker access. 2025-10-06 23:27:08 -04:00
ItsLemmy 343c3b95ae IPC: new approach to ensure accuate positionning once the screen variable has propagated. 2025-10-03 23:55:17 -04:00
ItsLemmy b85576653a NPanel: Sped up opening animation, removed close animation. No more lags and feel snappier 2025-10-03 22:36:21 -04:00
ItsLemmy cd7ac2b243 NPanel: reverted yesterday fix, trying another fix. 2025-10-03 22:03:56 -04:00
ItsLemmy ba4ec7dd47 NPanel: added logging to help tracking off position issue. 2025-10-03 20:58:43 -04:00
ItsLemmy 171661d8b8 Fix #361 - Panel is off-positioned after monitor wake up. 2025-10-02 17:43:01 -04:00
ItsLemmy 4ac27be0e8 NPanel: don't dim if panel is masked 2025-09-25 13:21:57 -04:00
ItsLemmy 8ece805273 File Picker: Using platform's native picker - removed custom picker. 2025-09-22 11:39:04 -04:00
LemmyCook 46c3ea5d22 Revert "fix: disable panel dragging during text input and dialog interaction"
This reverts commit 56db321846.
2025-09-21 20:24:51 -04:00
Ly-sec 56db321846 fix: disable panel dragging during text input and dialog interaction
NPanel: disable DragHandler when popups open, block drag over text inputs
BarWidgetSettingsDialog: notify panel of open/close state
BarSectionEditor: pass panel reference to dialog
2025-09-20 12:23:43 +02: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
Ly-sec 28026a4c37 NPanel: add bar detection while dragging
WallpaperSelectorPanel: adjust layout
2025-09-18 19:24:00 +02:00
Ly-sec b8bce3d421 NPanel: add border while dragging 2025-09-18 18:34:48 +02:00
Ly-sec 6fba3457f7 NPanel: add drag support 2025-09-18 18:27:35 +02:00
LemmyCook 0b790c219d Dimming: replaced dimmer by panel dimming, now that we have no margins it works fine. 2025-09-16 23:23:16 -04:00
LemmyCook cdca7c1d83 NPanel dimensions & Dimmer: Panels have no margin they are full screen and prevent clicking on the bar until dismissed.
Margins are now included in the rectangle X,Y coordinates calculation

Might sound weird at first but it fixes a lot of inconsistencies/issues
we have had for a long time when a panel was open:
- can't close panel when clicking in a dead zone of the bar.
- hovering an icon on the bar used to make it look like you could
interact with it, but the click would just close the panel and not
actuall y do anything with bar .

I recommend turning back on dimming, as it is now way cooler. Changed
the default to true.
2025-09-16 21:53:11 -04:00