Code Monkey home page Code Monkey logo

Comments (4)

arudei-dev avatar arudei-dev commented on May 20, 2024 3

I know, but it would be nice to have that options too, besides The Windows 7 taskbar has been praised by many of its users, also flexibility :)

from cairoshell.

dremin avatar dremin commented on May 20, 2024

Regarding grouping, the method Cairo uses I mentioned in #53. However, thumbnails are a great idea!

from cairoshell.

dremin avatar dremin commented on May 20, 2024

Here are my notes from previous brainstorming on the combined quick launch + task list implementation.

For categorizing windows by app:

  • Windows 7 and up use AppUserModelID (AUMID) to uniquely identify applications on the system. This is required to properly categorize windows by application. Cairo already gets the explicit AUMID for apps, but not yet the implicit AUMID assigned to apps that don't explicitly define one. It may make sense to implement this in ManagedShell.WindowsTasks.ApplicationWindow. Getting it on Windows 7 requires injection into the process and calling GetCurrentProcessExplicitAppUserModelID, which sounds unsavory. This Win32 API can be used to get it on Windows 8 and up.
  • A new TaskCategoryProvider will need to be created for categorizing taskbar windows by app. The App Grabber category-based TaskCategoryProvider implementation is here as an example.
  • A setting needs to be created for switching between the TaskCategoryProviders.
  • This can be implemented independently from the combined list below.

For combining taskbar windows with quick launch icons:

  • I haven't thought this through completely yet, so the following are high-level thoughts of a potential way forward.
  • Quick launch, task list, and combined quick launch + task list should all likely be separate controls, to mesh with future customization plans.
  • The controls used in the taskbar need to be configurable by a separate setting.
  • A data model is needed for the combined quick launch (ApplicationInfo objects from AppGrabber) and task list (ApplicationWindow objects from ManagedShell.WindowsTasks) collection.
  • ApplicationInfo and ApplicationWindow objects will need a way to relate to each other. Is there a way to get the AUMID for the non-UWP apps stored in AppGrabber?
  • The new combined quick launch+task list control will need to use the new data model as its data source and display a QuickLaunchButton or a TaskButton depending on the item.
  • The new control will need to show a single taskbar item for a category, with the individual windows listed in the TaskThumbWindow.
  • TaskThumbWindow needs to be refactored so that it can show multiple windows.

from cairoshell.

dremin avatar dremin commented on May 20, 2024

Available in the latest release!

from cairoshell.

Related Issues (20)

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.