Commit Graph
80 Commits
Author SHA1 Message Date
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
LemmyCook 6f1ae43d62 Dimmer: new implementation of the screen diming in a separate component. 2025-09-16 21:35:27 -04:00
LemmyCook eb26aa10f7 NPanel: Reworked all margins and X,Y computation to make things simpler. Fix #298
- Temporarily removed Dimming as it was a pain to manage on each panel,
this will be reimplemented in a better way soon.
2025-09-16 20:28:07 -04: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
LemmyCook 2082cfe7c7 Merge branch 'main' into vertical-bar 2025-09-13 15:27:55 -04:00
LemmyCook 9a9f2886e0 Floating Bar: Fix for #265 (overlapping panels, toasts and notifications) 2025-09-13 15:23:27 -04:00
LemmyCook 101e3125a9 Vertical bar: simpler management 2025-09-13 13:06:17 -04:00
Ly-sec 6fba9d9f22 NPanel positioning fixes 2025-09-13 16:45:22 +02:00
Ly-sec f670f88804 NPanel: add margin if bar is floating (except for SettingsPanel) 2025-09-13 10:25:50 +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 76be93a84d NPanel: fix 3 minor warnings 2025-09-10 21:14:01 -04:00
LemmyCook 82ac49ce85 NPanel: simplified screen/scaling management 2025-09-10 20:45:50 -04:00
LemmyCook b9dbbf7bdd Widgets Drag&Drop: drop indicator and improved behavior 2025-09-10 09:02:09 -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 cdcfe328d2 NPanel: rounding x,y coordinates to avoid artifacts 2025-09-04 19:53:33 -04:00
Ly-sec a91d790074 HooksTab: replace NText with NLabel 2025-09-04 18:01:06 +02:00
LemmyCook c1bec66151 Cleanup: removed Color.applyOpacity in favor of Qt.alpha 2025-09-04 11:29:45 -04:00
LemmyCook 2793863689 Merge branch 'main' of github.com:noctalia-dev/noctalia-shell 2025-09-04 10:16:39 -04:00
LemmyCook 7fafda4747 NPanel: clear openedPanel attempt 2025-09-04 10:16:37 -04:00
Ly-sec 3ceba43802 Notification: prefer notification image over app image 2025-09-04 16:12:50 +02:00
LemmyCook d319ab9bfc IPC: IPC calls now properly identified the proper monitor so that dimming and other stuff works better. 2025-09-04 09:37:50 -04:00
Ly-sec 65794b52ec Fix double click on SidePanel to close
NPanel: remove WlrLayershell.keyboardFocus.OnDemand, only add it to
specific panels.
2025-09-01 23:57:51 +02:00
LemmyCook 210bbac583 ScalingService: 1st pass of the refactoring via signals instead of nested bindings for better efficienty and compatibility with old versions of Qt 2025-09-01 13:52:12 -04:00
LemmyCook fcf627c30b BarHeight: more rounding uniformization 2025-08-31 10:36:40 -04:00
Ly-sec 91ffa4a9fd Reimplement the MediaMini and ActiveWindow fix
Revert ScreenCorner fix (didn't work at all)
2025-08-31 11:18:24 +02:00
Ly-sec 7b63b6900d Don't dim ScreenCorners
NPanel: add dimOverlay
2025-08-31 10:34:01 +02:00
Ly-sec 724e55c37d Autoformat 2025-08-31 08:57:00 +02:00
Ly-sec 51f1923e22 Fix TrayMenu crash after display wake. Add checks if screen exists, else set scaling to 1.0
TrayMenu: Replace PopupPanel with NPanel (for better loading & to
prevent QS crash)
Overview, Background etc: add screen checks, if it doesnt exist set
scaling to 1.0
2025-08-31 08:55:20 +02:00
LemmyCook 22af8e91cc Autoformatting 2025-08-26 12:20:27 -04:00
LemmyCook 6a9dee38ef NPanel fixes 2025-08-26 10:26:02 -04:00
LemmyCook f3ae0101d7 NPanel now can properly be positioned relative to their opener (button) 2025-08-26 08:55:29 -04:00
Ly-sec f3f0f611cb Add AppLauncher opacity, topCenter & bottomCenter 2025-08-26 14:31:59 +02:00
LemmyCook 7a849806fb Minor cleanup 2025-08-25 08:28:27 -04:00