Skip to content

Conversation

@PikeNote
Copy link
Contributor

@PikeNote PikeNote commented Jan 6, 2021

PikeNote and others added 18 commits January 5, 2021 20:41
- Added context menu for created group shortcuts
- Contex menu can activate recently activated programs
- Context menu has quick-edit
- Context menu can open all program/shortcuts
- Fixed bugs where Microsoft App Store games would not work
- Fix some formatting
- Disabled open all shortcuts context for groups who don't have the allow open all shortcuts checked.
- Use the group icon for the context menu across all category/fields instead of the default application one
Added a ConfigPath property to the MainPath class, and changed references to this folder in the rest of the code.

Added a ShortcutsPath property to the MainPath class, and changed references to this folder in the rest of the code.

The config and Shortcuts folders are now stored in the user's application data folder.

Started replacing with Path.Combine() the concatenation of paths using slashes and plus signs.
Moved initialization of MainPath properties to a static constructor. Also changed the computing of the paths to a faster method.
Used the Environment class to get the path of the All Users' Programs folder, rather than use a hard-coded path.

Added a property to the MainPath class for the relative path of the folder we use inside AppData.

Fixed a few more path concatenations with Path.Combine().
- Reverse for loop causes issues?
- Fixes app images to be drawn backawrds
- Fixed side bar with the tips not scaling with the window size
- Fixed attempting to set up context menu before the files are written
- Fixed (something of) environment variables in path expanding to the wrong place
- Editing window now scales properly vertically and limits itself once the entirety of the shortcuts list is gone
- Support editing screen width streching
- Replace the current label divider with a image acting as a divider
- Horizontal scaling now fixed when adding new shortcuts
- Pencil icon next to textbox to indicate edit shortcut entry feature
- Make shortcut entry textbox collapse as the form is collapsing
- Shortcut name entry now resizes properly with amount of space avaliable rather than the amount of characters inside the box
- Delete confirmation screen added to prevent accidental deletion
@PikeNote PikeNote changed the title Context Menu + Bug Fixes Context Menu, Editing window rescale, Delete confirmation, Bug Fixes Jan 7, 2021
PikeNote and others added 6 commits January 6, 2021 23:40
- Stop 2 form editing windows from being active at any given time
- Temporary patch until new changes are pushed in
- Clicking on the pencil icon now focuses the textbox and sends the user to the end of the text
- Text gets truncated dynamically depending on the window size and becomes untruncated once the user focuses the text window
- Minimum size on the window as to not overshrink
- Only hopefully allow only one taskbar group open and prevent opening of multiple
…do not have an active taskbar on all displays

Fixes these pre-fork issues:
tjackenpacken#82
tjackenpacken#75
# Conflicts:
#	main/Classes/Category.cs
#	main/Classes/handleWindowsApp.cs
#	main/Forms/frmGroup.cs
#	main/Forms/frmMain.cs
#	main/User controls/ucCategoryPanel.cs
#	main/client.cs
#	main/client.csproj

Merge: Pull request to set paths to AppData for local user.

- Cleaned up handling of keybinds using lists instead of switch statements
@PikeNote
Copy link
Contributor Author

In progress of manually merging multiple pull requests to ensure compatibility with a larger update

- Adapated rest of system to new path system
- Fixed project file up by removing refrences to old path file
- Path wasn't fully defined leading to applications not launching properly
- Changed form close to application close to ensure proper closing of the application
- Removed recently opened application feature

Reason: No point as the user would normally launch it from the application anyways. Adds much more complexity and requires more icon handling.
@PikeNote PikeNote changed the title Context Menu, Editing window rescale, Delete confirmation, Bug Fixes Major feature updates, bug fixes, and path changes Mar 29, 2021
PikeNote and others added 30 commits January 10, 2023 13:21
- At times, .EnumerateDirectories will error and throw back non-access to a directory/application and crash the appication
Remove outdated instructions/information from README.md, but also to declutter the page.
This stuff should be in Wiki anyway. Will work on a page when I have time down the road.
- Improved the popup from the background exe for the group to deactivate more consistantly and appear on top more
- Removed Lnk library to switch to Kaitai (possibly more stable for certain shortcuts
- Removed a ton of other dependencies/size that came along with the old Lnk library
- Hi-DPI fix implemented via code to ensure activation without .exe.config file
- Removal of app.config in favor of above
- Manifest added targeting Windows 7-11
- New features tries to switch to the new popup form and bring it to the front to ensure it gets focus (Windows may bug it out if done too frequently in a short time span due to security measures)
- When updating the background exe, it waitis for exit so it can replace it and not give the error
- Small fix to portability mode (part of a larger fix later) to prioritize the local folder if the settings file is found
- Fixed an oversight where the code would only update the shortcut file linking back to the editor exe only on its first creation
- Delete existing file such as background.exe if stuff is being moved back (there is a chance the user ran the applicaiton outside portable mode and it generates all the normal folders)
- In portable mode, every launch of the main editor would intiate a check on all shortcuts to ensure the path is correct (necesary since if the folder is moved, the shortcuts will delink)
- Removed DLL initalization as it being moved into client.cs covers the entire application
- Fixed edit group short arrows not showing the proper options to move up and down
- Fixed a weird control logic to add items at the beginning instead of the end when a shortcut is added
- Repatched loops used in the past to remedy this issue?
- Move and swap position of shortcuts in the edit group menu instead of deleting everything and recreating the whole panel
- Fixed background exe icon duplication in the system tray when a group is saved or the application is killed by the main program
- Improve horizontal scaling and use flow panels/table panels instead of regular ones
- Have elements automatically move around via the panels instead of manuallym moved by code when an updaet happens
- Further updates to UI to change to replace standard panels to be more hi-DPI compatible
- Improve performance of the form from the last update and enabled double buffering to resolve some of the visual issues
- Replaced frmMain's flow layout panel with table panel to avoid issues with flow layout
- Enabled double buffering on forms + controls to reduce tearing
- Resized images to pictuer box size before setting it as background image to improve performance
- Fixed some off-centering issues with add shortcut/group panels
- Fixed Hi-DPI issues with anchors on the add group screen
Added Icon size and separation setting & elevated max shortcuts per group
- Set default icon size to 30 to be more in line with current versions
- Fixed a bug where clicking on the shortcut group on the main screen would not open the folder
-  Fixed the Win + Up Arrow maximize bug. Simply caught any maximize message sent to the window
- Removed image scaling on the form editing window to prevent less than ideal icon dimensions
- For MD5 icon names, arguments are added in as part of the string to help solve overlapping icons for some applications
- Random code that was outside the catch causing errors when an icon isn't found and it defeaults to trying to treat it like a windows app
- Put group settings into tabs to reduce the space taken by group based settings
- Renamed client to editorClient to fall in the line with the naming scheme
- Fixed a bug where resizing the edit group menu can go smaller past the shortcut list
- Added a feature to open the editor or attempt to when clicking on the tray icon for the background
- Hopefully fixes a horizontal scroll bar issue on screens with certain DPIs
- Added sytem color option for background color of the application
- Fixed a bug where color settings would not load/be reflected properly on the other page
- Merged the similar LoadedCateogries and Categories classes to cut down on duplicate code
- Add a textbox to allow the file path to be edited/shown to the user
- Added validation of both the working and file path when changed to ensure its validity
 (revert back to original if invalid)
- Fixed a bug where changing a working directory via the button does not change the text shown
- Fixed a bug where using "select directory" and clicking cancel would result in the editor window not being refocused
- Bring the deletion confirmation dialog to the top so it isn't covered by other controls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants