Commit graph

483 commits

Author SHA1 Message Date
Markus Hofknecht 9fa06e927f Adjusted size and margins for ColumnIconWidth, pictureBoxSearch, dgv (so that it looks exactly the same as v1) 2023-09-24 03:09:44 +02:00
Peter Kirmeier 531d863e95 Fix warning and set helper function private 2023-09-22 22:35:56 +02:00
Peter Kirmeier fb18265395 Fix missed activation events from taskbar window 2023-09-22 20:39:43 +02:00
Peter Kirmeier 360dbe9163 Fix open animation not playing as row was not found 2023-09-19 22:09:54 +02:00
Peter Kirmeier 7d3c7bd54e Add animation when program is started
On v1 the icon switches to the circle icon for a short time.
On v2 a green pulse is moving from left to right in the background of the item.
2023-09-17 23:22:29 +02:00
Peter Kirmeier b00092e4a5 Reintroduce hover state of list items
Items were immediately selected when mouse hovered over
2023-09-17 19:11:08 +02:00
Peter Kirmeier 569722a5b0 Add protection against DisconnectedItem as sender object in mouse event handlers
Workaround was added in early development stage already:
1f985c53aa
However, it was meant to be no longer occurring, so detection was removed here:
6ebfed5f78
3f09f40188
3153032110

Since it occurred again, we reintroduce this fix at least on all mouse events.
This time, we check for the expected object type rather looking up the item in the list.
2023-09-17 18:29:51 +02:00
Peter Kirmeier 4bb533ea7c Add more spacing on the left side of list items 2023-09-17 17:47:39 +02:00
Markus Hofknecht cb54dbd0d3 fix InvalidCastException at ListViewItem_MouseLeave 2023-09-17 10:40:32 +02:00
Peter Kirmeier 80158ce947 Support for clicked state color of list items
Minor improvement of color updates
2023-09-11 19:25:38 +02:00
Peter Kirmeier 72c225a912 Move item execution into mouse button up event 2023-09-11 18:44:56 +02:00
Peter Kirmeier bfd50ae141 Switch context menu location as it is done by Windows Explorer 2023-09-11 18:04:48 +02:00
Peter Kirmeier c68f7413d9 Re-enabled drag and drop 2023-09-02 17:42:43 +02:00
Peter Kirmeier 3f92b082c2 Print version into title for debug builds
This makes it easier to compare v1 and v2 when shown side by side
2023-09-01 20:41:58 +02:00
Peter Kirmeier cd57ed21b3 Fix wrong selection when right click context menu opens 2023-09-01 20:08:36 +02:00
Peter Kirmeier cd26d6eda8 Context menu will horizontally follow mouse
Add compile switch to use Windows Explorer behavior instead
- Mouse: Directly at mouse position
- Keyboard: Left aligned with padding, vertically centered
2023-09-01 19:49:34 +02:00
Peter Kirmeier fa8ebdceb0 Apply all custom colors temporarily for testing individual colors 2023-09-01 18:06:39 +02:00
Peter Kirmeier ae6b12600c Use global style for all windows
Including foreground and background color, clear type rendering and using layout rounding
2023-09-01 17:34:42 +02:00
Markus Hofknecht 2087a3a947 font is not windows orig (but with TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" it comes a lot closer to the original) 2023-09-01 13:46:54 +02:00
Markus Hofknecht 00b4a4459b font is not windows orig (but with TextOptions.TextRenderingMode="ClearType" TextOptions.TextFormattingMode="Display" it comes a lot closer to the original) 2023-09-01 12:51:15 +02:00
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 7858b3dc7a [BUG] In v1.3.3 introduced a issue that always asking for admin, but should only ask if shortcut requires run as admin (#499), version 1.3.4.0 2023-08-28 14:35:21 +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
Markus Hofknecht dbd0f04e40 README.md 2023-08-25 12:25:19 +02:00
Markus Hofknecht 8a382eaacd [BUG] Fix fast renames causes duplicated item (#497), version 1.3.2.7 2023-08-25 11:55:55 +02:00
Peter Kirmeier d39588b8c5 Disable virtualized rendering to include non-visible items into calculation
See: https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.virtualizingstackpanel.isvirtualizing
2023-08-22 19:49:52 +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 c9da13a35e Fix selection color to be default again as in v1 2023-08-20 21:08:36 +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 2e268ec030 Remove color support for SliderArrowsAndTrackHover
Feature was dropped with 2.0.0.0
Settings kept for compatibility reasons, as application is still supporting v1 settings
2023-08-20 14:39:20 +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 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
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 8c62122c7e Fix iteration over filtered items 2023-08-13 22:17:16 +02:00