Commit Graph

517 Commits

Author SHA1 Message Date
cedi
faf1fae873 Modifying the startup behaviour of the FancyZones Layout Editor
Add setting to allow to choose if the FZ editor opens in the screen where mouse cursor is or where the active windows is.
2019-09-28 16:29:29 +02:00
ebbyd3
a8f0d3298f Fixed some minor code styling issues. Removed some minor redundant calculations for a small performance enhancement with zone detection. 2019-09-26 23:23:09 +02:00
ebbyd3
af67f7782c Added more in-depth check for zone determination when dragging around
the screen. Previously, it would iterate through the zones in the order
they were added and find the first one that fit the description. While
this works in most cases, if a user wants to have overlapping zones, it
is better to iterate through all of them and find the zone that the user
expects. There are cases where a zone is completely inaccessible on drag
because of the current code. To resolve this, the zone search will look
for the smallest zone possible. The reason I chose this solution is
because this guarantees that zones are at least reachable since if a
zone was bigger than another zone, then there must be a part of it
that is exposed, therefore reachable itself. Note: this solution is for
the scenario between two zones. More than that is not guaranteed. But I
feel like this covers enough scenarios to warrant its addition.

Example:
  ----------------
  - Zone1        -
  -  ----------  -
  -  - Zone2  -  -
  -  -        -  -
  -  ----------  -
  ----------------

Previously, zone2 was inaccessible since it would iterate through 1 then
2. But 1 would always be seen first when dragging a window. With this
fix it zone2 will be accessible.
2019-09-26 23:23:09 +02:00
Bartosz Sosnowski
50dae8a37b Make detection of windows creation more robust 2019-09-26 08:54:00 +02:00
Bartosz Sosnowski
0b86941a3b Make FancyZone distinguish different modern apps. 2019-09-26 08:54:00 +02:00
José I. Escudero
5d75feebdc Update README.md
Fix typo
2019-09-26 08:26:29 +02:00
Mike Harsh
e8327eed36
Merge pull request #350 from mkevenaar/feature/GH-349
Add documentation about Chocolatey installation
2019-09-19 18:57:33 -07:00
Bartosz Sosnowski
b85f722e09 When moving window to a zone, ensure it does not remain in maximized state. 2019-09-18 10:41:51 +02:00
Bartosz Sosnowski
1a400bd7fd Filter windows moved by keyboard in FancyZones 2019-09-18 10:41:16 +02:00
Bartosz Sosnowski
487c485911 Move window filter to separate function, filter more windows. 2019-09-18 10:41:16 +02:00
Bret
a54e4299aa
Merge pull request #391 from microsoft/user/bretan/fz-multimon
Fix for #195 - Fancy Zones new editor needs to support multiple monitors
Fix for #292 - Zone Editor opens behind PowerToys Window
2019-09-17 17:58:53 -07:00
Bret Anderson
209ec55912 PR feedback 2019-09-17 17:53:43 -07:00
Enrico Giordani
390ad0561f remove previous version upon upgrade
fix link to documentation
2019-09-17 09:53:05 +02:00
Bret Anderson
2c3c4e7519 Need to adjust x/y by scaled diff between monitor and work area rect 2019-09-16 12:48:55 -07:00
Bret Anderson
1078101631 Fix for #292 (Zone Editor opens behind PowerToys Window) 2019-09-15 13:48:56 -07:00
Bret Anderson
c0cdf7aaa6 Everything is working. 2019-09-15 13:34:00 -07:00
Gary Hunt
7eedda30db Fix typos in src/README.md (#364) 2019-09-14 12:53:54 +02:00
William Kent
54b883397c Use PTLicenseDlg in lieu of the standard license dialog 2019-09-13 18:07:15 +02:00
William Kent
f9c3ab3921 Use friendlier font in License.rtf file 2019-09-13 18:07:15 +02:00
Enrico Giordani
8221f5e641
activate zones for windows with custom titlebar
fixes https://github.com/microsoft/PowerToys/issues/209
2019-09-11 21:12:39 +02:00
Enrico Giordani
1430332b98
default 'flashZones' to false 2019-09-11 21:11:55 +02:00
Maurice Kevenaar
6cf3486387 Add documentation about Chocolatey installation (#349) 2019-09-11 12:51:03 +02:00
Bartosz Sosnowski
7aeac4996b
Don't show the tasklist arrows when taskbar is autohide (#340)
Ref: https://github.com/microsoft/PowerToys/issues/291
2019-09-11 12:38:58 +02:00
Bartosz Sosnowski
1737128b1d
Make Alt-F4 always close the settings window (#334)
Fixes: https://github.com/microsoft/PowerToys/issues/289
2019-09-11 12:38:40 +02:00
Bartosz Sosnowski
8ac6db8b5a
Fix cppcheck reported issues (#333)
Fixes: https://github.com/microsoft/PowerToys/issues/266
2019-09-11 12:38:20 +02:00
William Kent
12cd7bb49f Advertise shortcuts
* Change shortcut to advertised

Note that I had to remove the ability to not install a
Start Menu shortcut, as advertised shortcuts must always
be installed.

Also note that I had to change the "Core" feature to always
be installed (disabling Install-on-Demand) as having that
turned on broke the Scheduled Task installer.

* Disable ARPNOMODIFY
2019-09-09 18:19:17 +02:00
casungo
38029efe50
Added Hi-res logo (4k PNG) 2019-09-09 16:58:37 +02:00
Enrico Giordani
21bf5b11d7
add build status to readme 2019-09-09 15:40:47 +02:00
Enrico Giordani
bc0495fe79
Update CI pipeline
update Visual Studio version to 16
move CI pipeline to .pipelines folder
2019-09-09 15:13:21 +02:00
Alaric von Teplitz
ffa1b1e6a3 Cleanup settings-web (#280) 2019-09-09 13:47:18 +02:00
Bret Anderson
d4c8c84445 Pass DPI through to editor. It is more reliable. 2019-09-08 23:53:30 -07:00
Bret Anderson
3836aaa9d1 Almost working. Doesn't apply on my small monitor running at 150% scaling. 2019-09-08 14:54:44 -07:00
Bret Anderson
e562b29ecd Editor should come up on the monitor with the foreground window. Defaults to primary monitor if there is no foreground window. 2019-09-08 01:47:12 -07:00
Ewout ter Hoeven
5f5402aa0a [ImgBot] Optimize images (#225)
*Total -- 3,268.30kb -> 2,584.85kb (20.91%)

/doc/images/example_powertoy/settings.png -- 126.39kb -> 56.48kb (55.31%)
/src/modules/fancyzones/FancyZonesSettings.png -- 177.46kb -> 116.84kb (34.16%)
/Logo.jpg -- 37.32kb -> 26.97kb (27.73%)
/doc/images/Logo.jpg -- 37.32kb -> 26.97kb (27.73%)
/src/modules/fancyzones/Picker.png -- 35.86kb -> 26.45kb (26.25%)
/doc/images/runner/tray.png -- 3.40kb -> 2.52kb (25.95%)
/doc/images/shortcut_guide/usage.png -- 95.94kb -> 72.74kb (24.19%)
/doc/images/shortcut_guide/settings.png -- 40.33kb -> 30.76kb (23.73%)
/src/modules/fancyzones/FancyZones.png -- 1,266.91kb -> 982.63kb (22.44%)
/doc/images/MTNDWidget.jpg -- 5.74kb -> 4.73kb (17.59%)
/MTNDWidget.jpg -- 5.74kb -> 4.73kb (17.59%)
/src/modules/fancyzones/TableEditor.png -- 288.73kb -> 237.93kb (17.59%)
/WindowsKeyShortcutGuide.jpg -- 323.86kb -> 273.17kb (15.65%)
/doc/images/WindowsKeyShortcutGuide.jpg -- 323.86kb -> 273.17kb (15.65%)
/src/modules/fancyzones/WindowEditor.png -- 277.95kb -> 245.99kb (11.5%)
/doc/images/FZTutorial.jpg -- 214.13kb -> 195.51kb (8.7%)
/src/settings-web/src/components/fabric.png -- 7.36kb -> 7.26kb (1.31%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-09-06 19:53:54 +02:00
trident-job
335bf0cb95 Fix typos in README.md (#258)
Minor typos and more concise language.
2019-09-06 19:42:57 +02:00
Jay Tulk
6acddfb0c7 Fix typo in fancyzones/README.md (#259) 2019-09-06 19:27:45 +02:00
Exec
8d53187d0f Fix typo in PowerToysBacklog.md (#231) 2019-09-06 19:16:04 +02:00
John
164462da8b Fix typo in README.md (#221) 2019-09-06 19:12:34 +02:00
Michael Cooper
fdab2d01b9 Escape less-than-sign in fancyzones/README.md (#222)
Without escaping this is rendered as an HTML, which is invisible.
2019-09-06 19:12:03 +02:00
rayburger
d855853699 Fix typo in PowerToysBacklog.md (#220) 2019-09-06 19:07:48 +02:00
Chase Maier
b686880e7f Fix typo in README.md (#214) 2019-09-06 19:05:57 +02:00
Rich Turner
8d80f32a95 Fix typo in src/README.md (#207) 2019-09-06 19:03:36 +02:00
Enrico Giordani
8ef4339057 Update backlog links (#201)
- Update FZ backlog links
- Update ShortcutGuide backlog links
2019-09-06 19:02:33 +02:00
Steven Robbins
71b38bba88 Fix typo in README.md (#153) 2019-09-06 19:01:39 +02:00
Bartosz Sosnowski
8431b80e48 FancyZones and Shortcut Guide initial commit
Co-authored-by: Alexis Campailla <alexis@janeasystems.com>
Co-authored-by: Bret Anderson <bretan@microsoft.com>
Co-authored-by: Enrico Giordani <enrico.giordani@gmail.com>
Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
Co-authored-by: Jeff Bogdan <jeffbog@microsoft.com>
Co-authored-by: March Rogers <marchr@microsoft.com>
Co-authored-by: Mike Harsh <mharsh@microsoft.com>
Co-authored-by: Nachum Bundak <Nachum.Bundak@microsoft.com>
Co-authored-by: Oliver Jones <ojones@microsoft.com>
Co-authored-by: Patrick Little <plittle@microsoft.com>
2019-09-05 18:12:40 +02:00
Mike Harsh
10c5396099
June update to the What's Happening section
Added info and links to the intern PT specs and info about FancyZones
2019-06-13 09:26:40 -07:00
Meir Blachman
9c7d2edf37 add issue links to Backlog list 2019-05-15 15:05:05 +01:00
joshuaalm
2d282bb6b5 Minor spelling corrections
Corrected letter transpositions, and capitalized Alt+Tab for consistency (all other key names were at the beginning of their respective lines, so were already capitalized, but on my Surface Book all modifier keys and Tab are capitalized)
2019-05-09 16:58:31 +01:00
Tomer Cohen
a5d81e7c1d s/expereince/experience 2019-05-09 16:57:29 +01:00
corbob
3fc2176f51 fix a couple typos 2019-05-09 16:53:15 +01:00