Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Outliner with drag/drop reordering - part 2
-
@ihf said:
More important: I just noticed that there is a bug when you view the dates and you have items with multiple lines. The second line of an item becomes part of the next line. I can send an image if it would help.
You already got this error and you posted "If my outline is collapsed and I select view by completion date, and then select sort button to change to sort down, the display gets messed up in that lines are overlapping.".
I know that problem comes from computing TableView row's height which does not take in account that rows are sorted and I wanted to let this problem for the future version without TableView, and check if the problem still occurs.Edit : I just tested with my new ScrollView version (still in development) and problem should disappear
-
@cvp oops, sorry about that. I guess I am dropping bits…so to speak 😕
-
@ihf No problem.
Suppose I can develop the sort on the completed check box witHout date, how do you imagine to ask that? I would like to not be obliged to add a sort button like 🔢.
I could add some options in the eye menu or in the popup menu. -
@cvp I would say the eye menu is the most intuitive.
-
@ihf ok but do you agree to have 3 options: sort ascending/descending/no sort? To avoid a supplementary button
-
@cvp sure, that would be fine.
-
@ihf new V01.27 and outline.versions with
Version V01.27 - add new options in eye menu to sort items on their completed checkbox, at beginning, at end, or reset without sort (same as 'Expand all')
Feed-back hoped
Now, if I modify outline.py, I also have to incorporate modifications in ScrollView version, still in development for some time. 😢
-
@cvp I just restarted outline (v1.25) and it did not tell me about a new version.
-
@ihf weird. Internet accessible ? Retry
-
@cvp I agree, very weird. I tried on iPhone and iPad (both have connectivity) and both are staying on v1.25 with no notice of an update.
-
@cvp I tried on another iPad where I had updated to v1.26 and it also does not tell me about v1.27. Something else change in v1.25?
-
@ihf did you not try the V01.26 just before the V01.27?
Édit: sorry, I crossed your previous post
-
@ihf I found the reason, I erroneously added a blank line at begin of .versions file.
Wait 1 minute please -
@ihf ok, retry please
-
@cvp That did it. The new version looks good and does exactly what I was looking for. There appears to be one small glitch. When I sort by check boxes at beginning it works perfectly but when I do it at end, there is a blank line after the first of the checked (completed) lines. I tried on another outline and had a similar problem except it was when I did the sort to beginning and then the blank line (2 of them) were between the uncompleted items at the end. I tried on 3 more outlines and did not see the problem.
-
@ihf said:
small glitch.
Would it be possible that the problem comes from the same problem of rows with multiple lines like the previous described in sort of dates? This problem is not solved at all.
Rows height is not correctly computed if sorted rowsOr is it possible that you have rows without box?
-
@cvp It is quite possible that it is related to the other Tableview row height issues.
-
@ihf you could check that your outlines which do not give the same error do not have multi lines rows
-
@cvp yes, I think it is only a problem with outlines that have multi-lines.
Unrelated: I believe you already addressed this but I cant seem to find it in the forum thread. I would like to be able to select text and thru the share sheet, copy the text to an outline. I can’t seem to find the script that does this.. did I just imagine this? -
@ihf If I correctly understand your request:
Select rows you want to copy, choose copy option, These rows will be stored in outline.clipboard file. Then, in the destination outline file, tap the outline after which you want to paste. In the appearing popup menu, choose paste xxxx option. xxxx is the text of the first copied row. The copied rows will be pasted after the row of the popup menu. Easy, isn'it?
Edit: I think there is a bug if you copy/paste several rows and that they don't have the same level as the destination row. Not yet identified...The paste works but you could have to promote/demote some pasted rows.
Would you agree if the paste operation would add pasted lines at same level of destination line, without taking in account the initial level of copied lines?
Please, tell me
- if I had correctly understood your request
- if the copy/paste described is what you want
- if the proposition of the level of pasted lines is ok for you
...
...
...