A possible trick fo...
 
Share:
Notifications
Clear all

15th Feb 2024: Astro Pixel Processor 2.0.0-beta29 released - macOS native File Chooser, macOS CMD-Q fixed, read-only Fits on network fixed and other bug fixes

7th December 2023:  added payment option Alipay to purchase Astro Pixel Processor from China, Hong Kong, Macau, Taiwan, Korea, Japan and other countries where Alipay is used.

 

A possible trick for having a fast image viewer pane

2 Posts
2 Users
0 Likes
656 Views
(@svdwal)
Red Giant
Joined: 4 years ago
Posts: 30
Topic starter  

Apparently in the 2.0 beta's the image viewer is at its fastest when it is outside the view hierarchy of the main app. I would like to propose a trick to make it look like the image viewer is part of the hierarchy.

The idea is to have a dummy image view inside the hierarchy. The real image view gets its position from that dummy view and is putting itself automatically on top of that view. For this to work there has te be some kind of fast communication mechanism between the dummy image view and the real one. What mechanism that is depends very much on the implementation details. If for instance the real image view is a separate process, one would imagine some kind of interproces communication mechanism. If the real image viewer is in its own thread, a posix signal could work.


   
ReplyQuote
(@vincent-mod)
Universe Admin
Joined: 7 years ago
Posts: 5707
 

Thanks for the suggestion, let's first see how the beta and stable will go. We'll definitely look at new suggestions after that, thanks!


   
ReplyQuote
Share: