Andrey Nekrasov
eeea6b3bae
[FancyZones] Do not try to zone minimized windows ( #11776 )
2021-06-23 17:05:55 +03:00
Seraphima Zykova
c93eb92cd0
[FancyZones] Move FancyZones out of the runner process ( #11818 )
...
* rename dll -> FancyZonesModuleInterface (#11488 )
* [FancyZones] Rename "fancyzones/tests" -> "fancyzones/FancyZonesTests" (#11492 )
* [FancyZones] Rename "fancyzones/lib" -> "fancyzones/FancyZonesLib" (#11489 )
* [FancyZones] New FancyZones project. (#11544 )
* [FancyZones] Allow single instance of "PowerToys.FancyZones.exe" (#11558 )
* [FancyZones] Updated bug reports (#11571 )
* [FancyZones] Updated installer (#11572 )
* [FancyZones] Update string resources (#11596 )
* [FancyZones] Terminate FancyZones with runner (#11696 )
* [FancyZones] Drop support for the module interface API to save settings (#11661 )
* Settings telemetry for FancyZones (#11766 )
* commented out test
* enable dpi awareness for the process
2021-06-23 13:48:54 +01:00
Seraphima Zykova
7e79654ee0
[FancyZones] Avoid unnecessary calculations when selecting a zone ( #11815 )
2021-06-22 11:34:27 +03:00
Manuel Serra
5679d48073
Fix CurrentVirtualDesktop
fetching from registry ( #11760 )
...
* fix(#11125 ): fallback to canonical regkey session unaware
* chore(#11125 ): use wil::unique_hkey instead of HKEY for fallback CurrentVirtualDesktop
* refactor: extract new explorer current virtual desktop behavior into a separate method
2021-06-18 07:53:23 -07:00
ulazy1
482163daf7
[FanzyZones] Zone activation based on zone center ( #11361 )
...
* Started work on algorithm to select the zone with the center closest to the cursor.
* Fixed algorithm to compute center of rectangle
* Revert to taking the smallest area when the centers are too close (75 pixels).
Temporary turned off buffer of window selection to better see how the algorithm is working.
* Remove change to sensitivity radius.
* Changes in response to SeraphimaZ's comments.
* spelling fix
Co-authored-by: ulazy1 <ulazy198@gmail.com>
2021-06-16 07:49:29 -07:00
Seraphima Zykova
6821c50ffe
[FZ Editor] Switch between zone and dialog with Ctrl + Tab ( #11435 )
...
* focus zone by ctrl + tab
* focus back
2021-05-25 07:59:34 +03:00
Seraphima Zykova
7180278c33
[FZ Editor] Turn off magnetic snapping when moving/resizing a zone with the keyboard ( #11430 )
2021-05-24 15:04:28 +01:00
Clint Rutkas
f29b8dc50c
fx cop for Fz Editor part2 ( #11293 )
...
* disposable not being disposed
* CA1305 fixes
Co-authored-by: crutkas <crutkas@microsoft.com>
2021-05-18 13:39:38 +02:00
Clint Rutkas
319adcbd62
fx cop & FZ editor part 1 of many ( #11241 )
...
* fixing first set of host of bugs
* objects are already set to defaults
* shifting to string.is null / empty
* setters
* fixing stylecop oops
* checking in the FxCop dep but commenting it out for easier coming back
2021-05-14 09:54:34 -07:00
Niels Laute
19952ef634
[FZ Editor] Keyboard support for canvas editor ( #11211 )
...
* Canvas zone keyboard accesible
* Keyboard interaction
* Update
* Updated styles
* Update src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml
* Update src/modules/fancyzones/editor/FancyZonesEditor/CanvasZone.xaml
Co-authored-by: Niels Laute <niels9001@hotmail.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-05-12 20:44:26 -07:00
csigs
c33bc31c89
LEGO: check in for master to temporary branch. ( #11187 )
2021-05-10 14:58:21 +02:00
Niels Laute
86e4a9120d
Double click to close editor ( #11098 )
...
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-05-04 16:18:06 +02:00
Niels Laute
4ef667dc83
[FZ Editor] Accessibility fixes ( #11097 )
...
* Added tabindex to editor windows
* Hide icons
* Keyboard accesibile dialog
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-05-04 15:36:03 +02:00
Niels Laute
d586814308
[FZ Editor] Replace ItemsControls with GridViews ( #11066 )
...
* LayoutItemsControl to GridView
* ContextMenu
* Added contextmenu items
* Context menu keyboard support
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-05-04 13:49:38 +02:00
csigs
088b23f09a
LEGO: check in for master to temporary branch. ( #11039 )
2021-05-03 06:28:40 +02:00
Seraphima Zykova
e9a0b58796
[FancyZones Editor] Fix FZ Editor crash on opening custom layout for editing ( #10911 )
2021-04-26 14:32:18 +01:00
Clint Rutkas
e098581688
change in user string ( #10912 )
2021-04-23 10:22:50 -07:00
Niels Laute
0e64071051
[FZ Editor] Edit dialog UX fixes ( #10734 )
...
* Updates to UI
* Handle enter key
* Focus visual fix
* Fix
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-04-20 14:56:18 +02:00
csigs
34f371aeae
LEGO: check in for master to temporary branch. ( #10819 )
2021-04-19 13:07:20 -07:00
Clint Rutkas
9ff63b486e
updating system.text.json ( #10762 )
2021-04-15 11:41:11 -07:00
Clint Rutkas
e9ce9ab87a
Changing default key for FanzyZones ( #10751 )
...
* Changing default key
* Update Settings.h
2021-04-15 11:11:08 +02:00
Seraphima Zykova
55a851e5f2
[FancyZones] Place log files in subfolders with the version number. ( #10549 )
2021-04-07 14:43:35 +01:00
Ivan Stošić
bb5d4dfbf0
Fixed an issue with zone sizes ( #10609 )
2021-04-07 09:30:35 +02:00
csigs
8e78892712
LEGO: check in for master to temporary branch. ( #10588 )
2021-04-05 15:23:18 +02:00
Niels Laute
38bc0bab3d
[FZ Editor] Added resolution to monitor ( #10567 )
...
* Added resolution
* Added resolution
* Fontsize fix
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-04-05 11:35:33 +02:00
Seraphima Zykova
38b9ce3aa2
[FZ Editor] Crash with malformed layout data fix. ( #10500 )
...
* check values on json parsing
* comments
* invalidate malformed canvas layouts
* changed error message
* simplify error message
* removed exception message
2021-03-30 20:42:10 +02:00
Clint Rutkas
fba4fd91a1
Updating nugets ( #10493 )
...
* Update System.Text.Json and Newtsoft.json
* update newtson.json
* Updating testing only items.
2021-03-30 09:52:00 -07:00
csigs
49fb838175
LEGO: check in for master to temporary branch. ( #10480 )
2021-03-29 15:46:38 +02:00
Ivan Stošić
31fa9475da
[FancyZones] Fix deadlocks in ZoneWindowDrawing ( #10461 )
...
* Fixed deadlocks in ZoneWindowDrawing
Moved all possibly reentrant or blocking calls to ShowWindow out of critical sections.
* Initialize bools
* Tune flashing visuals
* Address PR comments
* Use = true; to initialize bools
* Remove tracing from GetAnimationAlpha
* Use member initialization when constructing AnimationInfo
* Refactor rendering
* Whitespace
* Hide window on render failure
2021-03-29 13:39:16 +02:00
Ivan Stošić
5baf11dada
Fix a vector<bool> subscript out of range crash ( #10458 )
2021-03-26 14:44:03 +01:00
Seraphima Zykova
13c4c188fa
[FancyZones Editor] Quick layout switch hotkeys ( #10437 )
...
Co-authored-by: Ivan Stošić <ivan100sic@gmail.com>
2021-03-25 15:44:55 +03:00
csigs
2698585018
LEGO: check in for master to temporary branch. ( #10374 )
2021-03-22 16:45:56 +01:00
Clint Rutkas
cc38d42bf9
Adjustments for editor to make langauge more clear for how to interact with editor. ( #10298 )
2021-03-17 15:45:12 -07:00
Niels Laute
0413fe944f
Updated accent color ( #10257 )
...
Co-authored-by: Niels Laute <niels9001@hotmail.com>
2021-03-16 15:32:43 +01:00
csigs
885c7c4e50
LEGO: check in for master to temporary branch. ( #10252 )
2021-03-15 18:49:55 +01:00
Ivan Stošić
7377ef5606
[FancyZones] Trace various function calls ( #10183 )
...
* Implement CallTracer
* Add CallTracer to various places
* Newline
* Fix unit tests not compiling for some reason
* Add macro
remove some trace calls
* Add indentation
* Add semicolon
* Update src/modules/fancyzones/lib/CallTracer.cpp
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
* Actually indent/unindent output
* Fix initial indent level
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
Co-authored-by: Enrico Giordani <enricogior@users.noreply.github.com>
2021-03-15 13:58:25 +01:00
Ivan Stošić
acb8595a50
[FancyZones] Fix taskbar size issues ( #9856 )
...
* Fix taskbar size issues
* Fix issue with DPI unaware apps
2021-03-11 12:31:29 +01:00
Ivan Stošić
488ee19f93
[FancyZones editor] Fix CanvasRect not being initialized ( #10163 )
...
* Fix CanvasRect not being initialized
* No need to use workArea height if it's set in CanvasLayoutModel
2021-03-11 10:50:53 +01:00
Ivan Stošić
72da703f0e
[FancyZones] Use a window pool for zone windows ( #9625 )
...
* Implemented and tested WindowPool
* Added mutex
* Add logs to WindowPool
* Fix a potential thread safety bug
2021-03-10 14:50:40 +01:00
Ivan Stošić
e586a7ad64
[FancyZones] Rework grid editor ( #10116 )
...
* Started rewriting
* Making progress
* Fix resizers not moving around
* Implemented splitting, fixed some bugs
* Removed more code, renamed methods
* Merging zones works
* Fix Shift key behavior
* Added spacing (has bugs)
* Implement minimum size restriction
* Match preview and editor visuals
* Snapping works
* Show when splitting is not possible
* Fix spell checker complaining
* Tweak FZ Lib function computing grid zones
* Fix potential crash when loading old zone layouts
* Fix dead objects talking
* Fix splitters being shown when they shouldn't be
* Fix index numbering
* Fix small glitch with the shift key
* Do not snap to borders outside the zone
2021-03-10 13:22:19 +01:00
Enrico Giordani
2e3473bbfd
[FZ Editor] Light & Dark colors adjustments ( #10115 )
...
* [FZ Editor] Light & Dark colors adjustments
* Reduce dark theme background transparency
2021-03-09 19:39:01 +01:00
Enrico Giordani
f7e2fa5263
[FZ Editor] hide tool windows from alt-tab ( #10011 )
2021-03-04 13:49:29 +01:00
csigs
b9ee317ab9
LEGO: check in for master to temporary branch. ( #9965 )
2021-03-01 14:59:05 +01:00
Ivan Stošić
f839a408de
[FancyZones] Overlapping zones selection algorithm - settings ( #9874 )
...
* Started work
* Removed bools in favor of an enum, renamed some
* Done something but it still doesn't work
* Settings are now correctly saved
* I'm getting a crash, I need to rebuild from scratch
* Settings page looks alright
* Completed work. Unit tests?
* Use ComboBox instead
* Add telemetry
* Update text
2021-02-25 16:23:05 +01:00
Enrico Giordani
060fff6d2f
[FZ Editor] Update description for 'merge zones' ( #9850 )
2021-02-23 09:37:55 +01:00
csigs
a786fd308a
LEGO: check in for master to temporary branch. ( #9835 )
2021-02-22 18:20:25 +01:00
Niels Laute
ed25ae64e5
[FZ Editor] Updated (preview) zone colors ( #9799 )
...
* Updated colors
* Updated border colors
* Updated borderbrush
* Updated background colors
* Added DropShadow
2021-02-22 10:50:33 +01:00
Niels Laute
a29b3aa500
[FZ editor] UX update for edit dialog ( #9709 )
...
* Layout title label fix
* Updated formatting for resolution textlabel
* Updated UX
* Added tooltip to layout title textblock
* Updated icon button styles
* Moved buttons around
* Updated margin
* Updated strings
* Revert "Updated strings"
This reverts commit cc4e1764b7
.
* [spell checker] add terms
Co-authored-by: Niels Laute <niels9001@hotmail.com>
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
2021-02-19 14:17:13 +01:00
Davide Giacometti
ec6b9acad9
[FanzyZones] Common ThemeManager ( #9576 )
...
* common ThemeManager in FancyZones editor
* fix high contrast theme
2021-02-10 14:10:42 +01:00
Ivan Stošić
47e288da4c
[FancyZones] Improve zone selection ( #9447 )
...
* Improve zone selection algorithm
* Thanks, spell checker
* Fix failing test case
* Add error logging
* Added support for different zone selection algorithms
* Revert "Fix failing test case"
This reverts commit 9f31a8a7e6
.
2021-02-08 10:48:11 +01:00