-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix WebDAV + Thumbnail + Open + Share + port.text
+ another fix
#60
base: do-webdav
Are you sure you want to change the base?
Fix WebDAV + Thumbnail + Open + Share + port.text
+ another fix
#60
Conversation
Merge recent commits from `sailfishos-applications/filecase:devel`
Oh, I am glad to see that posing a PR worked fine for you now. I am still curious to hear why it did not work in the first place: By searching the net I found that the error message you quoted seems to come from VScode. Were you originally using that and it now worked well using GitHub's web-frontend?
Well, git has a steep learning curve and I am not really that far ahead. What helped me is to take an hour or two at the weekend to read some Git introduction in order to understand basic concepts, the most important being "Git only knows diffs with a timestamp, nothing else. It knows no files proper etc., everything is constructed out of temporally ordered diffs." Practically I am using a two-pronged approach:
I will try to look at the WebDAV fixes tomorrow. A few initial comments, I already have in store:
I wonder if they are needed by older SailfishOS releases. Mind that FileCase's code-base currently supports all releases since 1.1.9 (maybe even 1.1.7), that the GitHub CI workflow compiles for some releases starting with 2.2.0 and that SailfishOS Chum supports all releases since 3.1.0. I still have a Jolla 1 with SFOS 2.2.1 and an Xperia X with 3.2.1 around to test. If you do know for sure that they are superfluous, deleting them is fine, otherwise please comment them out as you originally planned.
I believe this originally was an accidental omission by CepiPerez, but I think it should also be tested for containing something in the line before as all other arguments are, so this unambiguously does not work if
It ought to offer all share providers ("sinks": i.e. "share to"-providers) available on a device. On SFOS 2.2.1 BT is definitely offered and working, will have to check on 3.2.1 and 4.0.1.
Yes, Jolla loves to replace stuff, often without any migration period (as here with the share mechanism).
Will take a look at it when time allows.
Oh, this seems to be unrelated to WebDAV, right?
Will have a look on my extant FileCase installations.
Will check both:
I assume you chose it carefully. 😃
I am am not sure, if this is correct, because
This is really nice. Please bear in mind to put independent stuff into separate feature branches (ultimately resulting in separate PRs). |
I only tried it from the frontend.
This is an oversight I did not consider. Backwards compatibility with older versions. I'll see if my Jolla 1 or C will boot up and test there.
There has to be a reason why it is so. I am assuming the port switch is also happening in the back-end side via checking the
Part of my backwards compatibility oversight. I'll work on it.
Yeah, I'll work on this too.
Works fine from the command line, refuses to work from filecase. I've spend a good deal of time trying to understand why. Had a look at other projects like
Sure, I can be a bit hectic sometimes. Especially when working on other's code. You dont know where the workflow will take you. |
(still curious) And what was different (rsp. did you do differently) that time when it ultimately worked?
The question is how much (in the sense of "strongly") one should consider this point. Jolla 1 users are stuck at 3.4.0, but there are only a few left. Community ports are stuck at various releases (the one after which a porter ceased to maintain the port), but I would expect that the sum of all users currently using a "stuck at some release" community port is in the same order of magnitude as all users still using a Jolla 1. My wild guess would be 10 - 100 for each category. For all other SFOS-related projects there is a natural cut-off at some release (e.g. by coincidence 3.1.0 for Storeman, SailfishOS-Chum-GUI and consequently their installers, too), but for For FileCase we would have to decide on a scheme (
Yes, I saw that, but have not yet taken a closer look why.
Wasn't already done somewhere above (no time to look at the code right now)?
The switch came with SFOS 4.2.0, this is the reason why Storeman's
IIRC there is nothing to do specifically for this when using SFOS's
Also still on my ToDo list.
Huh!?!
O.K. Does "the Qt solution" also work fine for local URLs (
Here you lost me: Does "it" address
Take you time. We are not in a rush, this is all spare time activity. |
BTW, on the topic of "using a common core component" for WebDAV: We already do, we all use mhaller's I am considering to use a better way of integrating it as a git submodule. CepiPerez seems to have simply copied the files available at that time (which is pretty close to its final state by mhaller). All aforementioned forks carry only minor changes, though different ones, but mostly not conflicting ones. Mmmh, I did not want to get dragged deeply into FileCase's maintenance aside of infrastructure aspects, but this calls for assembling these changes in a(nother) fork. |
On SailfishOS 3.2.1 Edit: Edit 2: No, All changelogs and release notes of SailfishOS and the Sailfish SDK
As I was originally gathering all SFOS changelogs to determine which packages appeared / vanished / were updated by which SFOS release, a excellent baseline for SFOS 1.1.0.39 is provided by the SailfishOSS page on the MerProject Wiki, which also lists the licenses of all packages (proprietary or a specific FLOSS licence), which are installed by default. |
Found it in Changelog_from_4.4.0.72_to_4.5.0.16.md at https://forum.sailfishos.org/t/changelog-struven-ketju-4-5-0/14291
|
WRT
|
Just for an heads up on a meta and social level: Sorry that I have been silent for so long, I was quite ill from early December to early January. I am trying to catch up with the processes at work, private life and SFOS-related activities, but that is overwhelmingly much and I still feel endlessly tired. Hence I am considering to only ask checks&balances-questions here, but to omit all intentions to review code etc., because that will likely not happen anytime soon and I do not want to stall your efforts. |
For an example of the coding differences for the old (< SFOS 4.2.0: P.S.: This is also an example of how to handle changes breaking backward compatibility by using different source code branches. For details, see Storeman-Wiki:Git-commit-workflow. |
port.text
+ another fix
First of all, thank you for guiding me through the intricacies of git
These fixes include the following:
Fix QML rendering error in
AddWebDavAccount
-- Removal of all_labelItem.opacity: 1
and the addition ofport.text
Fix Transfer View For Webdav Upload -- This needs to be rechecked since I removed
Sailfish.TransferEngine
and usedSailfish.Share
It works fine, but I am not sure if it's the intention of it, since it only shows cloud services. I'll retest with multiple webdav accounts later today. Looking at the original share page screenshot, it seems that it had Bluetooth share as well. I'll need to recheck this. The problem was thatSailfishTransferMethodsModel
was throwing an unknown component. I searched for the documentation, but couldn't find anything specific, hence I assumed it was a deprecated method.Fix Webdav Upload -- This entails the change in
src/transfers.cpp.
It was throwing a Segmentation Fault and fishing for the cause led me to simply select the first element in the list. I suspect it has to do with the changes inUploadFiles.qml
Thumbnails
Seems like the issue is twofold, for images, the
.thumbnails
dir is not created. Perhaps it should be done when installing.For videos
/usr/lib/qt5/qml/org/nemomobile/thumbnailer/thumbnailers/libvideothumbnailer.so
is missing from my system. New implementation requiresffmpeg
which I am assuming ships by default with sailfish. If not, then we'll have to re do it using the thumbnail lib. There's a quality factor withinffmpeg
: see https://ffmpeg.org/ffmpeg-codecs.html#Options-22.Open fix: Replaced
Utilities::openFile
which usedxdg-open
withQt.openUrlExternally
.I am still working on various fixes and clean ups. You can always check https://ghamama.openproject.com/projects/filecase/work_packages to see where I am and what I am doing