Commit graph

97 commits

Author SHA1 Message Date
Peter Kirmeier
f67662cc45 Fix context menu (right click) position
Was bound to mouse position before, is bound to item position now.
2023-08-31 21:09:58 +02:00
Peter Kirmeier
c5f9977c7d Fix target framework version and unintentionally reintroduced code 2023-08-31 17:26:28 +02:00
Markus Hofknecht
d20e843863 [BUG] Languages Filipino, Hebrew and Norwegian not working (#467), version 1.3.2.10 2023-08-25 15:22:27 +02:00
Peter Kirmeier
0f1f1748a4 Let the framework calculate text width of list entries
This will improve performance as less objects will be rendered for calculation.
Will also fix "flickering" of sub menu at wrong (not yet calculate) window position.
2023-08-21 20:05:31 +02:00
Peter Kirmeier
892b89e0e2 Scroll bar size calculated based on content again, however with a min-size 2023-08-20 22:38:28 +02:00
Peter Kirmeier
61c2cd0dea Work around a potential race condition of FadeIn events
Issue could happen when sub menu switches from loading to full sub menu and previous FadeIn event overwrites opacity after Opacity was already set to final value.
2023-08-20 20:29:53 +02:00
Peter Kirmeier
161233ac39 Automatically select search text when using TAB to switch between menus 2023-08-20 20:14:28 +02:00
Peter Kirmeier
7ebccdf27c Do not take the shadow effect into account for size and position calculations 2023-08-20 16:18:40 +02:00
Peter Kirmeier
4ac3d1eb3a Fix wrong appearance in menu size and position when switching from loading menu to final sub menu 2023-08-20 14:03:58 +02:00
Peter Kirmeier
cfd53b516e Set thumb sizes of menu scroll bars to 25 percent of their scroll-able height 2023-08-18 21:36:03 +02:00
Peter Kirmeier
4b5e75180c Remove Padding from ListView default ControlTemplate
Ensures that the separator and ListView will always line-up on the right side correctly
2023-08-18 19:15:28 +02:00
Peter Kirmeier
e6d41beffc Applied some fixes..
Fix wrong loading status shown (e.g. "0 elements" instead of "loading")
Fix missing loading icon (animated blue circle)
Adjusted alignment of the scroll bar (aligns with the separator right above)
2023-08-18 18:20:21 +02:00
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
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
Peter Kirmeier
09100cf821 Fix offset calculation for sub menus when filters are active 2023-08-13 23:59:40 +02:00
Peter Kirmeier
8c62122c7e Fix iteration over filtered items 2023-08-13 22:17:16 +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
Markus Hofknecht
695be87239 [Feature] Add search bar right click 'Paste' (#466)
(cherry picked from commit 9bc8847f3c)
2023-08-12 14:08:51 +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
28fdd938ee Enable search text box selection. 2023-06-04 11:34:29 +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
33e1d9decf Avoid weird list view selection change due to the created native context menu. 2023-06-03 01:17:05 +02:00
Peter Kirmeier
d74e61b999 Replaced some Icon objects with ImageSource
Merged ColumnText and Text of RowData
2023-05-19 20:43:19 +02:00
Peter Kirmeier
13e7cedaa6 Improve async icon loading
Response time for an loaded icon should be faster as update no longer depends on timer
Loading icon will now share image source prevents creation of lost of loading icon copies
2023-05-19 15:27:35 +02:00
Peter Kirmeier
f7fff25ba7 ReadIcon will automatically update ColumnIcon
Freeze of ImageSource required to become accessible for UI thread as it may be created in background worker
2023-05-19 00:17:07 +02:00
Peter Kirmeier
6346b513d8 Merged ListViewMenuItem into RowData 2023-05-18 23:28:52 +02:00
Peter Kirmeier
e9675685ef Separated ListViewMenuItem from Menu (former ListViewItemData) 2023-05-18 22:48:18 +02:00
Peter Kirmeier
4a11f48f10 Reduce complexity of RowData 2023-05-18 22:28:05 +02:00
Peter Kirmeier
ac311d5632 Make mainMenu not null 2023-05-18 22:16:39 +02:00
Peter Kirmeier
a1055ce31f Rework open calls and events 2023-05-18 20:42:46 +02:00
Peter Kirmeier
e16d682d87 Rework to remove IsMainUsable 2023-05-16 20:53:01 +02:00
Peter Kirmeier
1e5c8c8f94 Improve window relocation by mouse dragging 2023-05-16 19:57:02 +02:00
Peter Kirmeier
d75d183918 Remove state openCloseState and ClosePressed events by refactoring 2023-05-16 19:32:48 +02:00
Peter Kirmeier
cd5ab5aa5c Simplified code
Fix potential issue of loading from wrong thread during startup
2023-05-15 22:34:17 +02:00
Peter Kirmeier
ec045a153b Simplified menu selection via keys
Avoid menu closing when going one level back via keys
2023-05-14 19:13:44 +02:00
Peter Kirmeier
5bd2c44930 Simplified and improved selection via keys
Reduce complexity of key handlers
Combine deselect and select events
2023-05-12 01:13:02 +02:00
Peter Kirmeier
d8a146e8ed Simplified RowSelectionChanged
Fix issue of overwriting selection during key row selection process
2023-05-11 00:53:02 +02:00
Peter Kirmeier
f73a674400 Change SelectionMode to Single for ListView 2023-05-11 00:14:05 +02:00
Peter Kirmeier
fe2ab9b4ff Improve key selections by reduced usage of Nullables types 2023-05-10 00:55:18 +02:00
Peter Kirmeier
c5225b5708 Simplified shell context menu creation 2023-05-09 22:06:15 +02:00
Peter Kirmeier
bb198a32db Rework ListViewItemData and RowData members
Improve UI updates due to unnecessary color and selection changes of menus' lists
Fix selection when going back to previous menu via key
2023-05-09 00:19:29 +02:00
Peter Kirmeier
14d0896419 Replaced internal "menus" array with chained instances. 2023-05-08 00:14:23 +02:00
Peter Kirmeier
9dede1c762 Keep windows width while filtering items
Fix issue when ListViewItem hides while mouse is hovering over it
Remove obsolete mouse events (non active code)
2023-05-05 21:07:23 +02:00
Peter Kirmeier
97185b1989 Adjusted naming and variables for menu selection with keys
Remove obsolete mouse events (non active code)
2023-05-05 20:01:49 +02:00
Peter Kirmeier
189e45099c Fix row selection loss when using keys
Remove some old drag and drop code (feature might be added later again)
Refactored some events to work with Menu s instead of ListView s
2023-05-05 18:52:05 +02:00