zvirja / traygarden Goto Github PK
View Code? Open in Web Editor NEWA framework for the tray applications. It's a .NET application. The main purpose of the application is to provide a convenient way to write a simple tray based helpers.
A framework for the tray applications. It's a .NET application. The main purpose of the application is to provide a convenient way to write a simple tray based helpers.
Copy large value to clipboard (e.g. 100MB)
Result: TrayGarden starts to consume a lot of memory and CPU
Solution:
Value limit should be introduced.
Currently all the context menu entries in global menu have the same color.
But very often it might happen that some entries are irrelevant at this moment (e.g. it makes no sense to process url shortening if clipboard doesn't contain url). It would be nice to highlight them in another colors.
Add a way to specify subtypes. This may help to show "Select folder" dialog to choose value.
Currently in the TrayGarden.Services.PlantServices.GlobalMenu.Core.ContextMenuCollecting.MenuEntriesAppender
there is such code:
public virtual void AppentMenuStripItem(string text, Icon icon, EventHandler clickHandler)
{
if (text.IsNullOrEmpty() || icon == null || clickHandler == null)
return;
EventHandler asyncClickHandler = (sender, args) => Task.Factory.StartNew(() => clickHandler(sender, args));
var menuItem = new ToolStripMenuItem(text, icon.ToBitmap(), asyncClickHandler);
OutputItems.Add(menuItem);
}
So it's impossible to add a new context menu item without an icon. Although, it's possible to construct a ToolStripMenuItem without an icon by passing null
as image.
Sometimes the configuration is corrupted.
Should introduce some extra logging to investigate this.
Add check to prevent second copy from running
Sometimes clipboard events are duplicated and handlers processes them a few time.
We should add some protection.
This might cause wrong results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.