81bbbd034c80fe61bb07faa20e49f7129ed6fd2e
Space opens a small window beside the file manager with what is chosen: a picture scaled to the room beside the window, the first 64 KB of a text, a folder's icon and how much is in it, the type's icon for anything else. Space again, Escape or the window's close button hides it, and a change of the selection -- a click, an arrow key, the column view's list -- replaces the content. Option+Space puts it over the whole screen through _NET_WM_STATE_FULLSCREEN. The picture is read in the idle time through McdeThumbRequest, one per work proc, and the window is placed beside the one it belongs to, never over the list (dtwm does not raise on focus). tools/mcde-shot.sh gained MCDE_SHOT_SETUP (fill the fresh test home) and MCDE_SHOT_ACTIONS (drive the program with xdotool before the picture); docs/screenshots/ records the states, never the reference's artwork. Measured on Xvfb with xdotool: Space opens the preview (docs/screenshots/leopard/finder-quick-look-mcde.png) and a text file in it (finder-quick-look-text-mcde.png); choosing another icon replaces its title and picture (Bild-5.png); Space and Escape close it, and without a preview Escape still runs the two actions it replaced (DrawingAreaInput, ManagerGadgetSelect). The column view's list keeps its own selection; the preview follows it there too, but Space in that list is not wired yet (the list has the focus, not the work area) -- the next step, together with a list translation for it.
Description
The Modern Unix Workstation OS
https://makronix.hiddenbox.org
7.1 GiB
0 Stars
3 Watchers
0 Forks
Languages
C
83.2%
Roff
5.6%
Assembly
5.3%
Shell
1.5%
Makefile
1.3%
Other
2.6%