Conversation
I don't know why this took place, but it's *very* prone to infinite looping (which occurred here on changing views)
copy & paste stuff and forgotton safe
the function does that anyway and keeping an extra setting is just prone to cause out-of-sync states
nor restoreState/Geometry again from cliFileName mode This seems to be/have been some workaround for something, but it's wrong - esp. because the dock widths are NOT correct when the dock was never shown for the cliFileName mode No problem spotted w/ simplified code so far
This allows to copy/move files into a filebrowser or onto the desktop, mail attachments and whatnot NOTICE: there's a severe DnD bug in Qt 5.4.0 - it doesn't work at all (regardless of this or any DnD implementation)
* can resolve ~/ * autotrails a / on completion * use lazy childcount (interested in dirs only anyway)
Hi! Sorry about the delay, will integrate ASAP! |
Hi luebking, |
Indeed. This is actually unrelated to the fullscreen mode and caused by ::setDocksVisibility(bool) As long as tool & statusbars are in a fixed position, the could be covered by showing them before resp. hiding them after the docks, but that solution doesn't scale, nor is very elegant. I'll look for some better fix. |
prevents resizes of docks when changing view modes
Is the commit da0cef3 automagically added to the pull request? (I've never done this before ;-) |
Hey, yes it was, but it doesn't fix it... |
sigh Background: However, the docks etc. are shown while the window has still its fullscreen size and when its resized, the docks will shrink with it - unevenly. Right now, I've no idea how to do this "correctly" w/o splitting the function (ie. showNormal() first and continue hideViewer() when the window state actually changed) - altering the order in show/hideViewer won't work since it just alters the problem location to showViewer(), saving and restoring the state will still encounter a resize... that could take a while. |
before showing docks. This is a bit hackish, but better solutions require X11 dependency
Hi luebking; Sorry for the delay, I merged the following commit, thanks: Regarding this one, I tested it dragging an image from the thumbviewer to my XFCE deskop, or from Thunar to the thumbviewer, and it does not work: Regarding this, do you actually have a use case where endless loop occurs her? (it was done on purpose, because some refreshing was not complete unless doing so...) Regarding these, as you saw these are sensitive... once you have a solution without degradation we will talk: Regarding this, I was not able to see any difference in user experience, what are the benefits of this? Thanks! |
Dragging INTO thumbviewer isn't implemented (nor suggested) - phototonic is no filemanager. QT5 build, run phototonic, show doubleclick an image (shows fullscreen) press escape -> Phototonic maxes out one core forever, Phototonic::hideViewer() never finishes. 100% reproducible. Stacktrace: #0 0xb60d66a3 in call_pselect6 () from /usr/lib/libc.so.6 Whatever the purpose was, it's wrong. As the commit says, the dircompleter resolves "~" (eg. to /home/ofer), adds trailing "/" on completion (so you can type on w/o having to finish the completed path) and does saves I/O by not inspecting the dir to get its childcount (because we only list dirs anyway) commits 592e79b & da0cef3 should resolve issues caused by c1b7727 |
I see, merged the following, great work: As for the following, disabled the first one, and added a limit to the second one with a magic number (did some checking), credit is given, thanks: |
Hi luebking; Regarding your comment: "commits 592e79b & da0cef3 should resolve issues caused by c1b7727 I am afraid that there issues with these still, one: there is degradation after returning from full screen, you can not right click on tool bars, and two, the "hack" code looks really nasty :) |
Thanks for allowing me to get rid of gwenview.