Coder Social home page Coder Social logo

hofknecht / systemtraymenu Goto Github PK

View Code? Open in Web Editor NEW
605.0 605.0 44.0 8.88 MB

SystemTrayMenu - Browse and open your files easily

Home Page: http://hofknecht.eu/systemtraymenu/

License: GNU General Public License v3.0

C# 100.00%
app bookmark browse c-sharp explorer file folder game-launcher keystroke launch manager menu open script start startmenu subfolder systemtray toolbar windows

systemtraymenu's People

Contributors

chip33 avatar hansienl avatar hofknecht avatar igorruckert avatar kristofzerbe avatar lukashofknecht avatar mace4github avatar tanjalibertatis avatar topeterk avatar yrctw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

systemtraymenu's Issues

[BUG] Rare ObjectDisposedException & InvalidOperationException

Rare error
2019.09.20 09:54:59.878 1 FadeForm ERROR System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "Menu".
bei System.Windows.Forms.Control.CreateHandle()
bei System.Windows.Forms.Form.CreateHandle()
bei System.Windows.Forms.Control.get_Handle()
bei SystemTrayMenu.FadeForm.ShowInactiveTopmost(Form frm) in D:\Seafile\Markus\C#Projects\systemtraymenu\Helper\FadeForm.cs:Zeile 166.

related to this also
$exception | {"Dieser BackgroundWorker ist derzeit ausgelastet und kann nicht mehrere Aufgaben gleichzeitig ausführen."} | System.InvalidOperationException

  • Version: 0.9.1.251

Fill ReadMe

use template from here
https://gist.githubusercontent.com/PurpleBooth/109311bb0361f32d87a2/raw/8254b53ab8dcb18afc64287aaddd9e5b6059f880/README-Template.md

fill informations, update here in my comments
afterwards we release it in file ReadMe

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Give examples

Installing

A step by step series of examples that tell you how to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Running the tests

Explain how to run the automated tests for this system

Break down into end to end tests

Explain what these tests test and why

Give an example

And coding style tests

Explain what these tests test and why

Give an example

Deployment

Add additional notes about how to deploy this on a live system

Built With

  • Dropwizard - The web framework used
  • Maven - Dependency Management
  • ROME - Used to generate RSS Feeds

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

[Feature] Installer & Updates

We should create an update process
Do we need an installer therefore? There is an installer and updater in when using the visual studio publish

Setup and update process should be like e.g. Notepad++
At least we need a function, check for updates now

[BUG] Search with multiple repeating characters

Description, Steps to reproduce, Expected behavior, Screenshots
Prepare a folder with the following contents:

  • dolls
  • dollar
  • lol

Do the following steps:

  • Type 'd' it will select 'dolls'.
  • Within a second type 'o' it will still select 'dolls'
  • Within a second type 'l' it will still select 'dolls'
  • Within a second type 'l' it will still select 'lol' as 'l' was pressed a second time.
    At this point Windows explorer search will select 'dolls'.

What is the intention by STM? @Hofknecht
I was expecting "same" explorer behavior which means it should continue selecting 'dolls'?

Issue relates to KeyPress() at SystemTrayMenuHandler.cs

[Bug, Wait] Missing icons

In rare cases windows exporer shows the icon, STM does not.
Find more cases and analyze.
E.g. single item in my special music folder AnnenMayKantereit

[BUG] Exception when right click shortcut to drive C: or D:

Description, Steps to reproduce, Expected behavior, Screenshots
when i make a right click on shortcut to drive C: or D: i get an exception, see screenshot
rightclick c sometimes exception

message is shown interally (not throwing any exception to STM, so nothing in logfile) in
int nResult = _oContextMenu.QueryContextMenu(
pMenu,
0,
CMD_FIRST,
CMD_LAST,
CMF.EXPLORE |
CMF.NORMAL |
((Control.ModifierKeys & Keys.Shift) != 0 ? CMF.EXTENDEDVERBS : 0));

problem is solved when right click on other folder or shortcut, then exception not more happens (until restart).
Can the code solution be that we call it with fake/stub data (like in the manual workaround)?
What is the root cause for the error message?

  • OS: Microsoft Windows 10 Pro
  • Version: 0.9.1.251

[Feature] Filter to hide files/folders

Is your feature request related to a problem? Please describe.
When working on certain projects one maybe would like to hide some folders or files.

Describe the solution you'd like
Option to filter entries to hide them from the list.

Describe alternatives you've considered
(Maybe additionally for later) support of .gitignore or similar as a default filter list that can be activated.

Additional context

[Test] 4k & Scaling

In old versions there were problems with 4k, but we adjusted code.
We should test again at 4k or other scalings and check if there are any problems.

[Feature] Fading options

User mentioned there is a flag in windows which should be respected regarding fading
=> Can we read this flag, how is it called?
=> Should we create an extra option in the contextmenu?
=> Or if too many options we should create an extra settings menu.

[Feature] Open on mouse

Possibility to open menu on mouse position (e.g. also by shortcut)

-Be aware of the Problem e.g. user expects appearing on first screen but it appears on second screen

Can we open the menu by option (context menu)?
Do we want this regarding to our philosophy?
Maybe link this to the taskbar orientation task

[Feature, Wait] Special file search

We maybe want to add a search at the top, fulltext search, only show these files others not or in gray, or sort
big change we need to think about this Change Requests
-are there more simple ideas
-can we use ctrl + f or such things

[Feature] Dark mode

We should add contextmenu item.
Maybe extra dialogue, but then we can directly add a settings menu
or
selectable in the contextmenu like the languages

Can we read this dark mode also from windows?

Should we make it possible for the user to set MenuDefines e.g. from a xml?
=> This was also an idea before, but we want it as easy as possible for the user.

Do we need a bigger solution e.g. folder 'styles' & e.g. extra menu to select and/ or to preview it
It depends on how many styles we have and how complexe they are. Maybe only 4 values which are fix in code and only normal and dark so context menu enough?

[Feature] File contextmenu

When the user moves the mouse over an item in STM, he can open the contextmenu of this item by right click.
To close that contextmenu he has to press ESC, but the user often does not know that.
So he might click somewhere else on the desktop and this closes the STM.

Solution 1:
Explain that in a FAQ (Therefore create a FAQ, do we have other topics there?)

Solution 2:
Think about other possibilities e.g. tell the user the hint instead of hiding it in a FAQ
e.g. extra x somewhere user can click

[Bug, Find Solution] Special characters (e.g. chinese)

chinese characters => no icon
If an itemname contains e.g. chinese characters there is an exception.
Check if also the icon is not shown, is the exception handling also ok?, is then the disposing of the menu ok?

Test if there are more problems with special characters

[Feature, Wait] Change folder extention

More possiblities for Change folder
That should be as easy as possible for the user.

Solution 1:
contextmenu item 'Create Link' This creates a shortcut with cmd line parameter.
user can then switch by shortcuts

Solution 2:
Drag Drop a folder on the STM-icon to set it as root folder.

Solution 3:
Windows Explorer Context Menu Extension to change folder to STM Folder

-> wrong use: user should put shortcuts into the selected folder instead of changing the folder very often?
Think about the topics

[Feature] Reselect same marked item by search

Is your feature request related to a problem? Please describe.
When there are several files and you have a scrollbar. Search an item which only exists once. Scroll down and search again.

Describe the solution you'd like
Scroll again to the item exactly like windows explorer

Additional context
see also video

[Feature] Update azure-pipelines.yml (version, build and release)

We created a dotnetframework.yml, this builds and sends mail when build fails
(was replaced by azure-pipelines.yml)

TODO:

[Feature] Code Review

We have to review the code.
Can we refer to other projects?
E.g. Windows code api, clearence log, icon pack
Check also code register hotkey e.g. also from hitcountermanager

Think about:
IsAnyMenuActive

English spelling e.g. aN update

[Feature] DragDrop Hint

We had a form with DragDrop Hint to explain the user how to group out the icon into systemtraymenu.
Should we show the form at the first start or by an extra contextmenuitem? Should we addionally show the Windows option menu where the user can also set up this?

Or should the icon always stay ungrouped in the systemtraymenu?
We tought there was a possibility to handle this by code, but it does not seem like that, check again => dropbox is always able to show the icon ungrouped

[Feature] Better colors handling

issue1:
better colors for selected and hover ones and was too bright

issue2:
selected folder other color than hover (as hover still too bright?)

issue3:
no more yellow, is strange

issue4:
grey color when inactive

issue5:
RootFolder when not selected should not be in hover color, maybe also white
RootFolder when selected should not be in selected color, maybe only hover

idea
when key used disable mouse enter
when mouse move enable mouse enter
=> problem enable is too fast, we miss logic

we only get mouse move when on app
we cannot seperate between enter&move with and without mouse move
e.g. waiting for several move events or miss first enter event has problems e.g. first next selected item by mouse will be missed
can we wait short period to disable logic? probably no because then shortly wait on any item will cause the mouse again to enter and this will be strange again then?
we always not know how long the menu needs to open so always wrong idea in this way!
how can we differ 1. enter+mousemove 2. enter+mousemove (we only know keypressed before x ms?)

So if your program wants to detect whether the mouse has moved,
you need to add a check in your WM_MOUSEMOVE that the mouse position is different
from the position reported by the previous WM_MOUSEMOVE message.

[Feature] Scaling Change Adjust layout instant (restart necessary)

Is your feature request related to a problem? Please describe.
when e.g. connected over remote desktop and host system has other dpi other applications like teams or outlook assign their layout directly, stm shown like in screenshot
p1 size problem
restart solves the problem

Describe the solution you'd like
restart solves the problem, there is a event for it

Additional context
when log out and log in that problem not happens, so normally only possible over remote desktop probably

[BUG] Nullref when shortcut not possible to register

Description, Steps to reproduce, Expected behavior, Screenshots
e.g. when register a hotkey -> could not register hotkey (let the dialog open) -> right click contextmenu and e.g. restart

  • Version >= 0.9.1.244

[BUG] Desktop.ini and Thumbs.db visible

Description, Steps to reproduce, Expected behavior, Screenshots
The files Desktop.ini and Thumbs.db will be shown when an intermediate shortcut (lnk) points to an UNC or mapped network location.

[Feature] Mouse&Keyboard Selection

issue1 (orig):
when changing by mouse and keyboard a left key was not possible (make sure it was not also because of the empty folder)
not more sure, fixed then by others?

issue2:
opened by key, menu appears on mouse, mouse opens next menu ... not intended => maybe when opened by key and mouse not yet moved not allow the submenu enter
SOLVED

issue3:
current hover by mouse is always same as selecteditembykey, can be switched smoothly
TODO NOW

[Feature] Hidden Folders

Hidden Folders should not be shown or at least a bit transparent
If possible read from windows option if they are shown, if yes show transparent

[Feature] Other taskbar orientations

Missing handling of other taskbar orientiations.
(or at least a hint that this is not supported, but now i think we should support it)

Think about how to solve

[Test] Antivir

In the past we had the problem that antivirus, norton or avast deleted the systemtraymenu.exe.
Should be fixed since we wrote a mail to both of them.
We need to check if there are more.

It should be fixed, when we solve [Feature] Certificate (exe) #7

[BUG] autostart activate not always working

Description, Steps to reproduce, Expected behavior, Screenshots
0.9.1.238 did not see this, in 0.9.1.243 i regocnized a behavior that autostart was disabled but when click on it there was still a X for not active. After e.g. select language it gets activated. but did not test if just refresh or if it was really not activated before
we refresh the contextmenu by restart
check rev 238 -> 243

  • Version [e.g. 0.9.1.243]

[Feature] Show Hidden Folders Transparent

Show Hidden Folders Transparent, see screenshot, should be the same like in windows explorer
image

(Hint: Hidden Folders only showed, when flag active to show them in windows from #1 )

[BUG] Mouse&Keyboard - Argument Out Of Range Exception

2020.03.11 22:26:23.997 1 Program ERROR System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Sammlung sein.
Parametername: index
bei System.Collections.ArrayList.get_Item(Int32 index)
bei System.Windows.Forms.DataGridViewSelectedRowCollection.get_Item(Int32 index)
bei SystemTrayMenu.Handler.KeyboardInput.SelectByKey(Keys keys, String keyInput, Boolean KeepSelection) in D:\Seafile\Markus\C#Projects\systemtraymenu\Handler\KeyboardInput.cs:Zeile 277.
bei SystemTrayMenu.Handler.KeyboardInput.CmdKeyProcessed(Keys keys) in D:\Seafile\Markus\C#Projects\systemtraymenu\Handler\KeyboardInput.cs:Zeile 84.
bei SystemTrayMenu.Menu.ProcessCmdKey(Message& msg, Keys keys) in D:\Seafile\Markus\C#Projects\systemtraymenu\Controls\Menu.cs:Zeile 314.
bei System.Windows.Forms.Control.PreProcessMessage(Message& msg)
bei System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
bei System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

[Bug] Clipboard filled

Clipboard is filled when doubleclicking on root folder
Open the STM and doubleclick on the root folder over the label at the top. Afterwards the name of the root folder is copied to clipboard.

[Feature] Search function

Something should happen when pressing Ctrl+F,
kind of windows explorer search or windows start menu search or any other special search
see also #22

(Would be good if we can press stm shortcut, then Ctrl+F, then e.g. 'sys*.sln', then enter ... but sounds that we need to reimplement kind of windows search, so indicie files is probably not a option (to much efford? needs many system resources?), think about it)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.