darksworm / imgsel-x11 Goto Github PK
View Code? Open in Web Editor NEWGUI image selection tool for X11, discontinued, now working on qt version here https://github.com/darksworm/imgsel-qt
License: GNU General Public License v3.0
GUI image selection tool for X11, discontinued, now working on qt version here https://github.com/darksworm/imgsel-qt
License: GNU General Public License v3.0
Currenlty i have it set in my i3 config that the window should be floating. This should be inferrable.
Currently we load the file list only once. We should be able to handle missing files.
Goal: when a file gets deleted or moved, the app doesn't crash when trying to load/draw it.
If its not too cumbersome, maybe we can handle renamed files too.
as of darksworm/emojigun@75e9292 we correctly handle multiple screens when running on xinerama, we should also handle this without xinerama.
A lot of the headers include their implementation code files (.cpp).
This is a terrible practice, .cpp files should not be included
To purge the cache, keep only n (defined in CLI params) images in memory at a time. When we load the n+1th image, remove oldest image.
nice-to-have:
When in navigation mode; moving causes crashes because the indexes are fucked.
type: UP, canmove: 1 oldIdx: -1620727809 newIdx: -1620727813
This requires some thought.
Do we take the image size as a parameter and then resize everything to fit?
Do we try to make a fancy collage like thing? This would hurt navigation
I thinks this has to do with the window itself being transparent.
It should only take up one screen. I thought i fixed this.
The image bounding rect size should not be hard-coded.
Make it as CLI params?
Automatic? (Image size + some padding?)
I keep making stupid mistakes... A nazi is required to enforce some rules.
Ex.: missing return statements in methods with a return type.
As I'm raw as fuck in C++, I've probably ignored best memory management practices & have created some memory leaks in the code as well.
We should probably have the keyboard listener on a different thread than the renderer.
We're probably not handling some x event.
a red rectangle perhaps.
Should investigate whats missing/broken in vim mode & patch things up.
When rendering image on a pixmap & then copying it over to the window introduces artifacts.
there is too much happening in main.cpp, some refactoring is required.
Having a fixed amount of bubbles is confusing, so lets just not show anything.
I can probably show which page you're currently on, but not how many pages there are in filter mode.
Don't reload images on every new frame, instead keep them cached until their page is destroyed
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.