Commit graph

65 commits

Author SHA1 Message Date
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
LemmyCook
a10d55e7f5 Bar widgets: modular loading refactoring via BarWidgetRegistry+NWidgetLoader
- Hot reload is working again.
- Should also be more memory efficient on multi monitors.
2025-08-24 23:50:09 -04:00
Ly-sec
aed728ec9c More Warning fixes 2025-08-21 15:55:38 +02:00
Ly-sec
ae332b3f82 Add ESC support for all NPanels 2025-08-21 13:38:57 +02:00
quadbyte
50e1de1dc1 Renamed properties so its easier to understand 2025-08-20 10:36:45 -04:00
quadbyte
2a8752e81d WifiPanel wip 2025-08-20 09:26:40 -04:00
quadbyte
ece8e210cc Calendar Panel 2025-08-20 08:52:08 -04:00
quadbyte
57fee68793 NPanel refactor - 1st pass: SidePanel and settings an new logic 2025-08-20 08:45:48 -04:00
Ly-sec
0aa17ae18e Fix some toasts and notification position 2025-08-19 15:19:05 +02:00
quadbyte
4ed7324a99 Brightness, fully working (at least on my machine) 2025-08-17 08:03:09 -04:00
quadbyte
dbdfbdc746 "transparent" => Color.transparent 2025-08-17 05:54:55 -04:00
Ly-sec
05f9acdc5d Add CompositorService, make Logger look a bit nicer 2025-08-17 10:19:51 +02:00
quadbyte
4fcdb1543d Renamed Colors to Color
- some work on the active window
2025-08-16 22:39:11 -04:00
quadbyte
83ff5f5589 Renamed all services to xxxService. Moved a couple things in Commons 2025-08-15 21:45:58 -04:00
quadbyte
33bec01e98 Removed all creeping: readonly property real scaling: Scaling.scale(screen) 2025-08-15 11:24:05 -04:00
quadbyte
a1cd673fb5 NPanel: slower overlay fadein 2025-08-15 06:58:04 -04:00