Commit graph

949 commits

Author SHA1 Message Date
Peter Kirmeier 54843018d2 Fix compiler warning and update package version 2023-08-16 23:07:32 +02:00
Peter Kirmeier 0143a0a690 Updated main menu controls' layout to be almost pixel perfect with v1 2023-08-16 22:45:43 +02:00
Peter Kirmeier 748d992727 Ensure shadow effect is visible
(As of now the shadow effect is generating a small gap between sub menus)
2023-08-16 21:31:48 +02:00
Peter Kirmeier 37dda6879f Reset selection when leaving menu and a sub menu is still open 2023-08-16 21:10:41 +02:00
Peter Kirmeier 23ac75ea1c Search input box focus when main menu opens 2023-08-16 19:28:48 +02:00
Peter Kirmeier 56bf7b18dd Let list view and its entries stretch
Fix empty space next to the list when all entries require less space than other controls in same window.
Eg. the label "2 items" and the icon button (open folder) needs more space than list with one entry named "C".
2023-08-15 22:43:52 +02:00
Peter Kirmeier c44ecd01d5 Remove label and use TextBlock directly that text can "fill" whole list entry 2023-08-15 22:43:52 +02:00
Peter Kirmeier 2f752a49d7 Add missing rounding (math) to fix width calculation
Fix entry with largest name was almost always trimmed for no visual reason
2023-08-15 22:43:52 +02:00
Markus Hofknecht fee21e5975 Add translation "Choose color" 2023-08-15 09:09:09 +02:00
Peter Kirmeier 106d6bd090 Initial style for ScrollBars making use of custom colors
As of now: all colors as in v1 are supported except ColorSliderArrowsAndTrackHover
2023-08-15 00:13:18 +02:00
Peter Kirmeier 10d2e8dac6 Fix background color for ColorPickerWindow 2023-08-15 00:11:04 +02:00
Peter Kirmeier 6fd41894c4 Initial dark mode support for all windows 2023-08-14 02:16:47 +02:00
Peter Kirmeier 09100cf821 Fix offset calculation for sub menus when filters are active 2023-08-13 23:59:40 +02:00
Peter Kirmeier 2afd604606 Use custom border for list view items to retain custom colors 2023-08-13 22:44:22 +02:00
Peter Kirmeier b377c1aaf6 Remove obsolete sanity check to improve performance significantly e.g. when search starts 2023-08-13 22:26:01 +02:00
Peter Kirmeier 8c62122c7e Fix iteration over filtered items 2023-08-13 22:17:16 +02:00
Peter Kirmeier a52897787e Remove border from search text box and set caret color with same as text color 2023-08-13 17:29:10 +02:00
Peter Kirmeier 1b9695696a Update layout of all Settings window controls 2023-08-13 17:13:26 +02:00
Peter Kirmeier 0eef578377 Update code analyzers and fix new warnings
New (latest) versions:
Microsoft.CodeAnalysis.NetAnalyzers 8.0.0-preview1.23165.1
StyleCop.Analyzers 1.2.0-beta.507
2023-08-13 02:46:13 +02:00
Peter Kirmeier da4ec8bec4 Fix issue of some icons not being loaded properly
Make sure native Icon calls are running within STA threads (resolves loading issues).
Make sure bitmaps are created on UI thread to ensure ownership (resolves display/update issues).
Remove obsolete helper routines (GetParentWindow and IconToImageSourceConverter).
2023-08-13 02:13:18 +02:00
Peter Kirmeier 8202a6c3cf Adjust generic size of textBox elements
Increased the size of the search bar icon (magnification glass)
2023-08-12 20:23:30 +02:00
Peter Kirmeier 1a34945a79 Adjust padding for list entries to match with v1
The 1px border is outside of the list view content that was inside on v1 before
2023-08-12 19:53:14 +02:00
Peter Kirmeier 9aa1200b63 Keep full menu size even when list shrinks due to searching 2023-08-12 18:54:17 +02:00
Peter Kirmeier 99809408b9 Fix missing filter for hidden entries when no search is active
Fix element count shown at the bottom of a menu (will update accordingly)
2023-08-12 18:37:26 +02:00
Peter Kirmeier a7a526700f Add transparency effect on button mouse over highlighting 2023-08-12 15:33:15 +02:00
Markus Hofknecht 695be87239 [Feature] Add search bar right click 'Paste' (#466)
(cherry picked from commit 9bc8847f3c)
2023-08-12 14:08:51 +02:00
Markus Hofknecht aea95f0876 [Feature] Show hint to find settings (#490)
(cherry picked from commit 7ea5b40248)
2023-08-12 14:01:33 +02:00
Peter Kirmeier 94fdd47cda [BUG] Child processes won't elevate (#488)
(cherry picked from commit 68258eb104)
2023-08-12 14:00:26 +02:00
Peter Kirmeier dfb1b46b65 Fix system tray icon not showing loading state 2023-08-12 02:44:48 +02:00
Peter Kirmeier 7ff7640ffd Update NuGet packages
H.NotifyIcon 2.0.115
Microsoft.CodeAnalysis.NetAnalyzers 7.0.3
2023-08-12 02:43:50 +02:00
Peter Kirmeier de483c874c Refactored resource file management..
Remove use of resx file
Resource files are marked as "Resource" instead
Resources are loaded via resource dictionaries (either from code behind or XAML directly through binding)
Reduce amount of required image conversions

Also fix overlay of 50 percent transparency (is now rendered half transparent correct instead of adding "white fog")
Remove obsolete image as rendering is done directly in code

Also fix rendering of link indicator at correct image position

Also remove setting Icons of all Windows (as default is application icon anyway)
2023-08-12 02:33:11 +02:00
Peter Kirmeier 7cbad2bbdc [Feature] Icon-only view like "Quick Launch" (#495)
(cherry picked from commit 9683e5c461)
2023-08-11 22:34:25 +02:00
Peter Kirmeier 26b9a755c3 [Feature] Show hint to find settings and enable by default 'Show function key Settings' #490
(cherry picked from commit 00b4c5ddcc)

Additional changes:
ResourceLoading improved for Window icons
Fix not working OK button of UpdateWindow
2023-08-11 22:29:08 +02:00
Markus Hofknecht 9d22a38c2d Update README.md
(cherry picked from commit 2add7288ea)
2023-08-11 18:45:07 +02:00
Markus Hofknecht 92b6b62f74 Update README.md
(cherry picked from commit 49acc2ae27)
2023-08-11 18:44:39 +02:00
Peter Kirmeier 0f09c4317f Child processes won't elevate (#488)
(cherry picked from commit a296df3da4)
2023-08-11 18:41:24 +02:00
Peter Kirmeier d6bf3ed42a Add color picker window 2023-06-04 16:41:48 +02:00
Peter Kirmeier 28fdd938ee Enable search text box selection. 2023-06-04 11:34:29 +02:00
Peter Kirmeier 87fedfc7d5 Set text color for items accordingly to configuration 2023-06-03 21:46:41 +02:00
Peter Kirmeier bb25cca4c2 Fix background colors for items after selection. 2023-06-03 21:40:33 +02:00
Peter Kirmeier 2b408c83bf Fix for closing pipe upon application shutdown. 2023-06-03 21:15:13 +02:00
Peter Kirmeier 0e812d207b Allow waking up another process when started a second time.
This was not possible before and was solved by sending hotkey in version 1.
In v2 it will use named pipes for IPC communication, so it don't rely on hotkeys any more.
2023-06-03 20:18:10 +02:00
Peter Kirmeier dda3d94e7b Only store hotkeys when successfully set using Settings window. 2023-06-03 16:56:17 +02:00
Peter Kirmeier 33e1d9decf Avoid weird list view selection change due to the created native context menu. 2023-06-03 01:17:05 +02:00
Peter Kirmeier f8f2338b73 Fix mouse position for shell context menu when menu/app key is used.
Mouse capture outside window mus be enabled otherwise screen 0:0 is returned.
However, we keep using native function as suggested by Mouse.GetPosition remarks.
2023-06-03 00:49:10 +02:00
Peter Kirmeier 8311d9fd5b Enable key filters for hotkeys
Fix some hotkey combinations
Refactor code for better serialization
2023-06-01 00:32:28 +02:00
Peter Kirmeier d162564e82 Enable hotkey modification via Settings window 2023-05-31 22:32:19 +02:00
Peter Kirmeier 215c263052 Refactor hotkey registration
Allow function registrations besides the actual hotkey registration.
2023-05-29 23:56:52 +02:00
Peter Kirmeier 637cc46e7e Initial reassign of hotkeys 2023-05-29 20:48:46 +02:00
Peter Kirmeier ce2d9772f6 Rework hotkey registration for sharing hotkeys between objects.
Use colors for working, failing or unset hotkeys in HotkeySelector.
2023-05-27 18:23:01 +02:00