juliendelplanque / mirage Goto Github PK
View Code? Open in Web Editor NEWA windows switcher with a previewer for Pharo.
License: MIT License
A windows switcher with a previewer for Pharo.
License: MIT License
Thumbnails of windows gets old and do not represent the window anymore after a certain time...
Implementing a system to update these thumbnails would be cool.
But regenerating all thumbnails at the same time takes time.
See the repository: http://smalltalkhub.com/#!/~ThibaultRaffaillac/Animation
I tried Mirage finally and it is a big improvement. However, I was hoping to get it to work like Windows Alt-Tab (aka Flip) function which apparently is also in KDE, MacOS, iOS and Gnome.
First, I couldn't figure out how quickly to "go back to the last window I was in." The list of windows is absolute (rather than z-order), which seems to be part of the problem. Aha - I found the "World order" windows management setting.
As a use-case, I want to toggle between a Browser window and a Playground, because I'm copying/pasting bits of code. In Windows, you just hit "Alt-Tab-Tab (then release Alt)" and you can switch very quickly back and forth between two Windows. It's done with one hand.
In Mirage, there are many more keystrokes, and it also takes two hands:
So, I think it's basically asking for 1 thing to make it super ergonomic:
Trying to open the Pharo settings for Mirage results in a walkback: Instance of SmallInteger did not understand #asNanoSeconds
I can't see what the obvious fix is here.
To install in Pharo 7, use:
Metacello new
repository: 'github://JulienDelplanque/Mirage:v2.1.0/src';
baseline: 'Mirage';
load
The tag is "v2.1.0", not "2.1.0".
I noticed that Pharo7 reports this method has an undeclared error
topWindowIn: aWorldMorph
^ (self windowsIn: aWorldMorph)
detect: #isTopWindow
ifNone: [ ENoTopWindow signal ]
Lots of people are reporting a font glitch issue in Pharo - and it really is noticable in P7 where suddenly characters will be garbled on the screen. This seems to magnify when using Mirage - where I seem to get it every few minutes when Mirage is loaded in a small image (I am loading into OSX 64bit, 7.0.2) - then I load the dev version and then finally my Exercism project (also quite small - but it does drag in Mocketry).
As Mirage, does have an option to refresh thumbnails every x seconds - I wonder if this might exacperate this problem somehow?
I mention this in case it rings any bells.
The workaround is to save your image (or tick/untick trutype fonts in settings) - and this use to be a one off without Mirage loaded, but I find I have to save every 10-20 mins to cure it. (this is empirical, and needs more exploration)
The default shortcut (shift-tab) doesn't trigger Mirage. Instead, tab characters get handled by whatever widget has the focus.
It appears when a collapsed window's thumbnail is updated.
To fix it, just check if the window is collapsed before updating the thumbnail.
If so, don't update the thumbnail (if it is collapsed, the thumbnail of the window didn't changed).
I got an error opening the settings after loading Mirage on latest Pharo 7 rc1
In Pharo 7, you can't seem to change the open shortcut from Shift-Tab to anything else. If you type something in, and then try to save it it just adds meta-s as an additional shortcut.
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.