Bartosz Sosnowski
e4c7ed9c3e
fixup: move the test to IsWindowVisible
2019-10-22 09:46:15 +02:00
Bartosz Sosnowski
b17106e88d
Don't zone hidden windows
2019-10-22 09:46:15 +02:00
Enrico Giordani
4b1d2ee106
fix bug in multi monitor scenario ( #528 )
...
the zone rect.X and rect.Y coordinates are relative to the current monitor.
2019-10-22 08:19:15 +02:00
Enrico Giordani
a07a42624b
Telemetry events
...
* Don't trace event on exit
change 'PowertoyModuleDeleter' to not call 'module->disable();' before 'module->destroy();' so the module can distinguish between being turned off and PowerToys exiting.
Code formatting.
* uppercase for event name
* Trace on/off event for ShortcutGuide module
* Trace the 'hide' event only if the guide was visible
'on_hide()' is invoked when the module is turned off, in that case don't trace the hide event.
* Remove spaces in data field names
Remove 'ShowGuide' event since it's not providing any useful data.
* Include build number in version number
2019-10-22 08:11:23 +02:00
Enrico Giordani
5fb59cd64a
Add PowerRename icon ( #537 )
...
remove unused icons.
2019-10-21 13:28:21 +02:00
Bartosz Sosnowski
123999febd
Make Start menu not appear if Shortcut Guide fade-in animation completes.
2019-10-18 13:40:57 +02:00
Bartosz Sosnowski
68d3450ff4
Send undefined keystroke instead of Ctrl to suppress the start menu.
2019-10-18 10:23:30 +02:00
Chris Davis
e1d5dd263a
Initial add of PowerRename from SmartRename repo ( #499 )
...
* Initial add of PowerRename from SmartRename repo
2019-10-17 20:57:19 -07:00
Bartosz Sosnowski
04b9422ea6
Update settings-web module dependencies
2019-10-17 15:06:26 +02:00
Bret
6d3ce4e3cd
Merge pull request #504 from TheMrJukes/master
...
Fix rcNormalPosition in SetWindowPlacement
2019-10-16 09:54:08 -07:00
Bartosz Sosnowski
41842048a3
Save the zone when window is moved by hotkeys
2019-10-16 10:23:22 +02:00
Bartosz Sosnowski
52b15f29ad
Add darkmode support for the settings window ( #494 )
2019-10-16 10:21:44 +02:00
Enrico Giordani
c8039828fa
fixes for zone resize
2019-10-16 01:14:40 +02:00
Bret Anderson
03cb04823c
Fix rcNormalPosition in SetWindowPlacement
2019-10-14 12:17:55 -07:00
Enrico Giordani
f9be71eca5
Add version number to telemetry event
...
use defines from version.h in .rc files and other places.
2019-10-14 19:22:14 +02:00
Antti Kuntsi
c069f6a555
fix FancyZonesEditor CLI dpi parsing with comma decimal locales
2019-10-09 16:18:36 +02:00
Patrick D
67c139cae9
change window name from window1 to FancyZones Editor
...
this will fix issue #453 but I'm not sure about the. I'll change it if required
2019-10-09 15:57:32 +02:00
Bartosz Sosnowski
892fed6011
Rename CustomSettingsScreen to ModuleSettings
2019-10-09 13:16:37 +02:00
Enrico Giordani
6bea03fee9
update destination folder
...
this is a regression from renaming the 'editor' folder to 'settings'
2019-10-08 11:06:53 +02:00
Enrico Giordani
b50df5afe1
rename 'src/editor' to '/src/settings'
2019-10-07 15:58:21 +02:00
Enrico Giordani
4b273a7e39
exit Settings on fatal error
...
fix error checking
2019-10-07 14:39:54 +02:00
Bartosz Sosnowski
5f8c4ea143
Improve window filter to include start menu and Cortana search box. ( #474 )
...
Also moves GetProcessPath* functions to common, renaming both to
get_process_path.
2019-10-07 11:12:44 +02:00
Enrico Giordani
298a8787d5
drop privileges if running elevated
...
make sure the Settings process is not running elevated otherwise the WebView control will fail to start
2019-10-04 11:50:27 +02:00
Enrico Giordani
25510b23e1
remove mutex
...
the mutex is not necessary since the global window handler is set after the WM_CREATE event is fired.
2019-10-04 11:50:27 +02:00
Enrico Giordani
1fc351b088
code refactoring
...
fix casting warning
disable automatic window content refresh on resize, this is required by the upcoming support for WebView2
2019-10-04 11:50:27 +02:00
Enrico Giordani
7db627df1b
global variable name
2019-10-04 11:50:27 +02:00
Enrico Giordani
c00733ea11
error handling and error checking
2019-10-04 11:50:27 +02:00
Enrico Giordani
7a94ee04c8
global variables name
2019-10-04 11:50:27 +02:00
Enrico Giordani
799ac545a2
supress warning C26451 arithmetic overflow
2019-10-04 11:50:27 +02:00
Enrico Giordani
11396015fb
WinMain annotation and argument name
2019-10-04 11:50:27 +02:00
Enrico Giordani
6839b4773a
NULL -> nullptr
2019-10-04 11:50:27 +02:00
Enrico Giordani
a2b0671d6d
rename variables and functions
...
supress warning C26444
2019-10-04 11:50:27 +02:00
Enrico Giordani
99e5680f33
code refactoring for local stream uri
2019-10-04 11:50:27 +02:00
Enrico Giordani
f93bcd875a
remove unused WebViewControlProcessOptions
2019-10-04 11:50:27 +02:00
Enrico Giordani
576f75d230
rename global variables
2019-10-04 11:50:27 +02:00
Enrico Giordani
f28e9bdb96
remove namespace prefix
...
since it is declared to be used
2019-10-04 11:50:27 +02:00
Enrico Giordani
7c43e814e9
remove unused libs
2019-10-04 11:50:27 +02:00
Bartosz Sosnowski
d96db2a408
Add dropdown settings UI element
2019-10-04 09:26:40 +02:00
Bartosz Sosnowski
bf82e04ddb
Add radio button group and add theme select for ShortcutGuide
2019-10-03 10:12:36 +02:00
Bartosz Sosnowski
64f606daaa
Add a hotkey settings control and use it in FancyZones ( #450 )
...
Add a hotkey settings control and use it in FancyZones
2019-10-02 17:18:55 +02:00
Tomer Cohen
de08485db8
FancyZone documentation typo fixes
...
Miscellanious→Miscellaneous
maintining→maintaining
2019-09-30 19:54:05 +02:00
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
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