[ / / / / / / / / / / / / / ] [ dir / arepa / brasil / hispint / lewd / manolo / mde / tulpa / vichan ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.
Name
Email
Subject
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


New user? Start here ---> http://hydrusnetwork.github.io/hydrus/

Current to-do list has: 1,499 items

Current big job: last touches of downloader overhaul, then login manager


YouTube embed. Click thumbnail to play.

f474c8  No.5522

windows

zip: https://github.com/hydrusnetwork/hydrus/releases/download/v252/Hydrus.Network.252.-.Windows.-.Extract.only.zip

exe: https://github.com/hydrusnetwork/hydrus/releases/download/v252/Hydrus.Network.252.-.Windows.-.Installer.exe

os x

app: https://github.com/hydrusnetwork/hydrus/releases/download/v252/Hydrus.Network.252.-.OS.X.-.App.dmg

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v252/Hydrus.Network.252.-.OS.X.-.Extract.only.tar.gz

linux

tar.gz: https://github.com/hydrusnetwork/hydrus/releases/download/v252/Hydrus.Network.252.-.Linux.-.Executable.tar.gz

source

tar.gz: https://github.com/hydrusnetwork/hydrus/archive/v252a.tar.gz

I had a busy but great week. I fixed some things, moved some long-term jobs forward, and made an important improvement to the shortcut engine.

duplicate filter

Skip this if you aren't interested in testing the dupe filter in an unfinished and currently frustrating state!

I did not have time to add the content merge options, but I have added the batch processing workflow, which I am generally pretty pleased with. I have simplified last week's complicated shortcuts and set middle-click now to 'go back one', just like the archive/delete filter. If you are enthusiastic about testing this, please try the duplicate filter out again and let me know if it makes sense.

Unfortunately, while I was testing this more this afternoon, I discovered the neat new algorithm I have for presenting more useful pairs in order is running super slow on real world clients with tens of thousands of potential dupe pairs. It takes my client 1-20s to launch the dupe filter now, which is obviously something I need to fix for next week.

But if you are prepared to sit at 100% CPU for a little bit, please try the dupe filter for a little bit. If you like, you can report how many 'potential matches' you have and how long it took to launch.

I am confident I can get the merge and delete content options ready for next week, at which point this should be a functional prototype!

shortcuts overhaul ongoing

In doing some duplicate filter stuff, I first needed to do a bit more on the new shortcut engine I have been cooking up. This job started being simple and then spiralled out into a significant rewrite/update of the core shortcut processing systems across the program.

The upshot here is that I have converted the old shortcuts in the file->options dialog to a new and better engine and I have completely replaced 'custom filters' with a single button that just turns a media viewer's shortcut sets on and off dynamically.

The 'shortcuts' page of file->options is gone, and now there is a dedicated and centralised file->shortcuts. The old 'options' shortcuts have been split into multiple smaller 'reserved' sets that are only active in certain contexts. For instance, the 'media_viewer' shortcuts are active on any media viewer canvas, including the preview window. Sometimes multiple shortcut sets can be active at the same time.

The change was so significant that I have reset all these main shortcuts back to default. There are some new defaults, as well–ctrl+r now does 'remove_file_from_view'.

In the same manage shortcuts dialog you can create new 'custom shortcuts' sets that you can turn on and off using the new keyboard button icon on any media viewer's top hover window. These custom shortcuts support content 'commands', so you can make 'ctrl+t' mean 'give the file "tag later" on "local tags"' or '1' mean 'give the file "1/5" on rating service "my rating"'.

If you used the old 'custom filter' system, you should be familiar with this stuff. Your old custom filter sets are now 'custom shortcuts'. Since custom shortcuts sit on top of the existing shortcuts, you should go into your custom sets and clear out old and invalid 'regular' actions (like 'archive' and 'frame_back') that custom filters inherited from the old 'default' set.

There is more I want to do with this system. Not everything is working yet, but I expect to finish off this update step over the next few weeks. I would appreciate feedback. If you want to recreate your preferred 'reserved' shortcuts, you can, but I will likely be resetting the whole system again in the near future, so you may wish to wait.

arch linux gif crash

Users on the Arch Linux package (or who otherwise run from source) may have encountered a crash when viewing any gif. This was due to an imperfect opencv/ffmpeg release. The problem is now apparently fixed and a new version of opencv is out, so if you have had this, please update your libraries again!

full list

- the duplicate filter now processes pairs in batches and hence supports 'back' actions to revisit decisions. you will be prompted every fifty or so pairs to commit and checkpoint your progress

- the duplicate filter now presents related pairs together, rather than picking at random

- fixed a bug in duplicate filter shortcuts initialisation

- simplified duplicate filter default shortcuts (these will be overwritten on update) to only use simple left- and right-click for 'this is better' and 'alternates', since those are by far the most common actions. middle-click now goes back, like the archive/delete filter

- converted old 'main shortcuts' system to the new shortcuts system, also splitting it up into 'media', 'main_gui', 'media_viewer', and 'media_viewer_browser' constituent parts that will be applied in different contexts

- because the change is so significant, all clients will have their old 'options' shortcuts reset to the new default–I expect to expand shortcuts further in the next few weeks, so this default-overwriting will likely happen again, so you will likely wish to wait before recustomising your basic shortcuts

- completely eliminated the old main shortcuts system–all references now bodge with the new system to varying neatness

- as the old main shortcuts system no longer exists, the 'shortcuts' page on file->options is gone–all shortcuts are now managed through file->shortcuts, which is a completely revamped version of the custom filter shortcuts editing dialog

- selecting shortcut commands is significantly simpler for the reserved shortcut sets

- all media viewers with hover windows now have a 'keyboard' shortcuts icon button on their top hover window–it links to the manage shortcuts dialog as well as the current active custom shortcut sets and default custom shortcut sets

- as the above system supercedes the old custom filter system, custom filters are completely removed from the program! your existing custom shortcut sets will survive, but you probably want to purge them of all the redundant junk they still have

- all the media canvases use the new shortcuts system

- the canvas frame uses the new shortcuts system

- the thumbnails canvas uses the new shortcuts system

- the main gui uses the new shortcuts system

- some other misc places use the new shortcuts system

- most simple shortcut command actions have been renamed to be more readable

- some shortcut actions, like zoom stuff, is no longer hardcoded!

- mouse shortcuts are still not widely supported!

- the shortcut command edit dialog now throws a veto-driven error message if you try to ok on an invalid command (a blank services choice or action string, that sort of thing)

- ctrl+r is now 'remove_files_from_view' by default. the old 'show_hide_splitters' is now ctrl+shift+r by default

- the preview canvas, if focused, now responds to many normal media viewer shortcuts (content stuff like archive/manage tags, and canvas-specific like frame back/forth, zooming and panning)

- the new shortcut system now interprets double-clicks of any mouse button to be a second single click

- the new shortcut system correctly 'flips' ratings on and off, rather than always 'setting' to the chosen value. optional 'set only' support will come in the near future

- more shortcuts will correctly and reliably propagate to canvases when any part of a hover frame has focus

- fixed a conflict between the new shortcut system and taglists, which were no longer accepting otherwise interesting keys, like enter

- created a shortcuts manager cache that deals with a bunch of the shortcut workflow centrally

- completely eliminated the old accelerator table/menu command system for the main gui window

- lots of misc shortcut-related work

- fixed wildcard file search predicates that are on a specific file service and have no namespace (like 'mar*')

- certain routines that can cause mass refreshing of the menubar (like import folders) will now not spam (and often queue this spam up and hang the gui) the menu so much. the menubar will now always collapse multple overlapping refresh calls to reduce cpu load

- fixed a focus-None issue in the new hover window focus detection code

- improved some more focus detection and comparison logic–quick rating-scrolling in the media viewer should be less janked

- improved 'touch' drag event detection and improved media canvas cursor hide/show logic in general

- fixed '&' display in notebook page names

- fixed '&' display in some common dialogs' text

- wrote a new statictext class that deals with '&' better and in future will autowrap and maybe some other stuff and then switched most of the simple instances of wx.statictext over

- updated some out-of-date server help r.e. admin service initialisation

- converted a little of the help on custom filter->custom shortcuts. I'll do more in future

- wrote a simple checkboxlist dialog

- misc cleanup

next week

I want to get the duplicate filter ready for proper use and wider testing.

f474c8  No.5524

>>5522

The dupe filter looks good. I've only got 2,711 potential matches atm so it loaded pretty quickly. Committing took a few seconds (152) but not too much. I mostly just used the box at top since I need to see resolution/file type to figure out which is better.

So what will happen to these commits? Automatic tag merging? I'm a bit stuck in the middle on whether to use the filter or pairs option; I tend to keep each file's name upon import so I can keep track of the original version pulled from pixiv, tumblr, nico seiga, etc. since booru versions aren't always the best. So an auto tag merge would complicate that, but the "show some pairs" option keeps handing me game cgs or censored/decensored versions that I can't tell it to ignore.

All in all the filter is coming along nicely. I'm so used to having to click and drag the image to the side so I can see the resolution info that it's easier for me to just leave use the buttons on the hover box at top to avoid making mistakes.


f474c8  No.5525

56324 files in db, 4899 dupes (at exact match), takes about 10 seconds to launch the filter

So while you're working on shortcuts anyway, could you make it so that "switch between 100% and canvas zoom" is remembered after you go to the previous/next image? Maybe it's just me but that's the behavior I'd prefer, I find it quite annoying that it resets after you go to the next image.


f474c8  No.5526

>>5522

Any chance that you could add a shortcut to select all files in the inbox or in the archive in the current tab?


f474c8  No.5528

File: 6bf50153164efcc⋯.webm (4.95 MB, 1024x576, 16:9, unlimited tag works.webm)

>>5522

Thanks for the release!

I really like how organized the new shortcut menu is.

Is webm related the expected behavior? When you unfocus tag management window in media viewer and use the 'manage_file_tags' shortcut it opens new one instead of closing it. It also does the same in older versions but it caught my attention today.


f474c8  No.5530

Hi dev, >>5516 here

Totally fixed right now, works like a charm. No more frustration while rating. Much thanks!


f474c8  No.5533

I have a question.

Let's say I have pictures A, B and C. A is a higher resolution version than B, and C is an alternate color version of B, of which there's no equivalent in A's resolution.

Through the duplicate, I set A > B first, and then I set that B and C are alternates. Does this mean hydrus will understand that A > C, even though it's not true? How would I proceed if that's the case, to avoid marking it as such?


f474c8  No.5539

File: 700395372c88ee1⋯.jpg (389.09 KB, 1000x856, 125:107, 700395372c88ee1fc156ca94b6….jpg)

I figured out the delay in launching the dupe filter–it was just me being stupid and missing out a logic condition after one of the rewrites.

>>5524

I have just now finished creating the system that lets you automatically merge tags and ratings when you use the filter. It can also delete the 'worse' file on 'this is better' actions. You'll ultimately be able to do this stuff manually on the thumbnail level, but the filter will be the fast way to do it.

>>5525

This is something I'd like to add. Since the top hover window can now support the cog icon, I'll see about adding an option to say 'stay at this zoom through scrolling' and make it notice the canvas zoom as well.

>>5526

Yeah, I think this is doable. I just need to add those actions to the big list and write some handlers. Thank you for the suggestion.

>>5528

Aha, yes, this isn't actually incorrect behaviour, although it is obviously not excellent. The manage tags dialog, when launched from the media viewer, is actually an on-top window, not a dialog. It doesn't prohibit interaction with the parent window (so you can leave manage tags to the side but still set ratings or archive/zoom/whatever the file), and it will even update itself if you scroll through the media list (so you don't have to close and open it all the time to edit tags on multiple files). Furthermore, it has no ok/cancel dichotomy like the thumbnail manage tags–it commits changes to the db and underlying media object as soon as you enter them.

All this means that yeah, you can actually open up multiple copies as the window is non-modal. Thank you for noticing and reporting this–I'll see if I can simply detect if one is already open and focus that instead on a repeat manage_tags event.

>>5530

Great!

>>5533

I answered this on the discord (I think to you) already, but I'll repeat my answer in case you are actually someone else and for anyone else's interest:

There are a bunch of optimisations available. They aren't all in there yet, but ultimately I think I expect to have:

if A = B, then all relationships A or B have should be copied to each other (e.g. if A > C, then B > C must also be true)

if A > B, then:

if AMAZING_IMAGE > A, then AMAZING_IMAGE > B

if B > BAD_IMAGE, then A > BAD_IMAGE

(There's nothing special about AMAZING_IMAGE–it could be called C–it is just to demonstrate how the logic of those two rules differ)

if A > B, then they must represent the same image, so any alternate of A must also be an alternate of B and vice versa. In the same way, if A 'is not a dupe of' C, then B must also not be C.

This last rule is your question. I'll add help and everything to better explain this, but 'alternate' in the dupe filter will mean 'these files are not dupes. they are related (recolour, rotation, significant crop, dirty/messy version, etc…), but not the same thing'. This special group is different from the basic 'not dupes' relationship in that we will at a later date create a complicated system to deal with file family relationships, so let's discover and remember the basic seed of that system for now until we can deal with it properly.

So in our context, if there is:

A - a picture of asuka

B - the same picture but lower res

C - the same picture but with her hair up in a bow

then A > B and A is an alternate of C and hence B is also an alternate of C. In practise, I expect most people will have the system set up to delete 'worse' files, so this whole issue may not even matter as these potentially complicated webs of relations will collapse fairly quickly.


f474c8  No.5541

File: efbb4607d4c26c4⋯.jpg (9.28 KB, 200x195, 40:39, 1389450654897.jpg)

Hentai Foundry updated their layout, it broke subscriptions


f474c8  No.5542

Archive shortcut (F7) stopped working this update. I tried changing it to shift+a but it's not working.


f474c8  No.5544

File: f80d90bd1b99528⋯.jpg (527.34 KB, 800x800, 1:1, f80d90bd1b9952843df03d0f14….jpg)

>>5541

Thank you for this report–If it is simple, I'll try to fix it before the release tomorrow.

>>5542

Thank you for this report. What context is this in? On thumbnails, the media viewer, both of them, or somewhere else? And what OS are you on?

In the place archive doesn't work, does Ctrl+E to open externally work, or F3 to launch manage tags?


f474c8  No.5548

File: 73f27895de803d8⋯.png (38.86 KB, 1162x850, 581:425, 1479967074687.png)

>>5544

>Thank you for this report. What context is this in? On thumbnails, the media viewer, both of them, or somewhere else? And what OS are you on?

Thumbnails and mediaviewer. I'm using Fedora 25 and running hydrus from source.

>In the place archive doesn't work, does Ctrl+E to open externally work, or F3 to launch manage tags?

Both work fine.

You're doing god's work hydrus_dev.


f474c8  No.5590

File: 88aff874ad5047b⋯.jpg (356.99 KB, 1000x1480, 25:37, 88aff874ad5047b7bef93441ea….jpg)

>>5548

I am not sure about this. Archive works fine for me in all contexts. If different shortcuts for archive still do not work for you but different actions are fine, then that suggests the saved action itself might be broken.

I did change the name of the action from 'archive' to 'archive_file' in the update–is there any chance you still have the old action listed? In which case, try to remove/add it again, if you haven't already tried it.

I am assuming this is on the 'media' reserved shortcut set, right? Not on a custom set?

The only other thought I had was that you possibly had another program, like an mp3 player, that had a global hook on F7. Even if you did, I assume you don't have one on Shift+a though. :/

I did clean up a tiny bit of logic for tomorrow's release–maaaybe it fixed your problem. Let me know how you get on with it, and if you still have problems, I will write some debug code to track this down properly.

Edit: fuck it, I wrote some debug code for tomorrow. Please try help->gui report mode when it is convenient in v254 and let me know what popups you get when you do something that works vs the archive that doesn't. Also please try shift+F7 or whatever you have set for 'inbox_file'.


f474c8  No.5595

>>5590

Just noticed this, the file is archived but hydrus doesn't load the next file automatically anymore. (in archive/delete filter)

So it was just me being retarded, sorry.


f474c8  No.5599

>>5595

Ah, that is also unintended. I will make sure to fix this in the next week or two as I move archive/delete over to the new shortcuts system. Thank you for this report.




[Return][Go to top][Catalog][Nerve Center][Cancer][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / arepa / brasil / hispint / lewd / manolo / mde / tulpa / vichan ]