Michael Weiser
Michael Weiser
There's been a new release 2.2.2 of colorclass with includes the fix. The problem is gone in my tests. So I believe this issue can be closed.
I also suspect that it has to do with buffering in sway/wlroots. I hacked around in both to flush the buffers before dpms off or right after dpms on. But...
Brainstorming: 1. not saving: Maybe a result extension in expressions such as '-> bad, nosave' and '-> ignore and not save' ? 2. the known rule and a corresponding expression...
I'm kinda getting cold feet regarding the additional `result_numeric` column needed to make this work with sqlite. Do you see any way to solve this more efficiently/elegantly?
> Without dropping support for sqlite? As an immediate result yes, but more broadly not being able to support any RDBMS which does not support sorting of enums. This could...
> So either we drop the old column and annoy admins, drop everything that doesn’t support enum, or somehow achieve a correct alphanumerical sort on the text representation ^^ Pretty...
May be relevant here: Just the other day confirmed that current Outlook still opens message/rfc822 (or mbox files?) if their filename ends in `.eml`. So Peekaboo could send them to...
Mitigated by switch to asyncio and running trackers as tasks and cancelling them on shutdown, e.g. https://github.com/michaelweiser/PeekabooAV/blob/1cfeb528facd244002238bd0a8cd17c8cf9882de/peekaboo/toolbox/cortex.py#L817 (apart from dropping startup connectivity checks altogether).
The latter looks promising though: We could map certain mime types to specific packages. If e.g. we know the mimetype to be image/jpeg but do not know a file extension...
... but if we're willing to add code to map mime types to packages we could just as well add our own code to map mime types to extensions instead...