Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 14 09:44
  • Sep 12 17:49
    daboe01 updated the wiki
  • Sep 10 06:54
    cappbot commented #2857
  • Sep 10 06:54
    cappbot unlabeled #2857
  • Sep 10 06:34
    mrcarlberg labeled #2857
  • Sep 10 06:34
    mrcarlberg commented #2857
  • Sep 10 06:34

    mrcarlberg on master

    Fixed: Pressing capslock insert… (compare)

  • Sep 10 06:34
    mrcarlberg closed #2857
  • Sep 09 21:18
    cappbot commented #2857
  • Sep 09 21:18
    cappbot unlabeled #2857
  • Sep 09 21:18
    cappbot unlabeled #2857
  • Sep 09 21:18
    cappbot labeled #2857
  • Sep 09 20:56
    daboe01 commented #2857
  • Sep 09 18:08
    daboe01 commented #2857
  • Sep 09 14:45
    mrcarlberg commented #2857
  • Sep 09 14:38
    mrcarlberg commented #2857
  • Sep 09 14:35
    mrcarlberg synchronize #2857
  • Sep 09 06:24
    tww0003 starred cappuccino/cappuccino
  • Sep 06 14:15
    daboe01 commented #2857
  • Sep 06 14:13
    daboe01 synchronize #2857
daboe01
@daboe01
+1
with SF Symbo apple also takes this route
Martin Carlberg
@mrcarlberg
I don't have any problems with it if there is a need for things like this.
But, I think we should try to create all the Aristo 3 components that exists in Aristo 2 first.
I think we need to focus so Aristo 3 can be completed.
Didier Korthoudt
@didierkorthoudt
@mrcarlberg Indeed ! 😉 I’ll check if this could help us (for example if it saves us time with icon artwork). Well, time now to fix some bugs as holidays are over… 😄
Martin Carlberg
@mrcarlberg
:smile:
daboe01
@daboe01
could probably useful also for the sorting triangles in table columns
daboe01
@daboe01
@didierkorthoudt one more thing: could it be, that the gears icon is not perfectly centered vertically?
Didier Korthoudt
@didierkorthoudt
@daboe01 I should be... Do you have a screenshot please ?
daboe01
@daboe01
look at the one i posted this morning
@didierkorthoudt sorry. it is well centered. it was my fault.
Didier Korthoudt
@didierkorthoudt
@daboe01 This is the kind of bug I prefer !.. 😉
Didier Korthoudt
@didierkorthoudt
@jasperdeb Regarding the setColor bug, I can’t reproduce the problem here… Could you please record your screen that shows the bug ? Regarding the setPosition bug, I can’t reproduce it… 🤔 Could you create a reduction please ?
jasperdeb
@jasperdeb
@didierkorthoudt For the setColor, it is kinda strange. It changes while scrolling through the tableview. Also some values who are red during one scroll, can be different while scrolling up and again down.... I will try this evening.
Didier Korthoudt
@didierkorthoudt
@jasperdeb I’ve been able to reproduce this problem. But, as you’ve spotted, it’s not straight (sometimes yes, sometimes no). I’ll dig on this.
bug.png
Didier Korthoudt
@didierkorthoudt
@jasperdeb It’s very very strange as my code set red only on rows 0, 10, 20, ... And I get row 7 red... (sometimes row 8) 🤔🤔🤔
jasperdeb
@jasperdeb
@didierkorthoudt If you scroll hard enough, you might see them all red :-)
Didier Korthoudt
@didierkorthoudt
@jasperdeb Yes ! Almost all… Very, very, very strange… But I think I know where it can be… Have to dig. Thank you @jasperdeb, I didn’t know what to do tonight… 😉
Didier Korthoudt
@didierkorthoudt
@jasperdeb Found where the « red color bug » is… Searching how to fix it.
Didier Korthoudt
@didierkorthoudt
@jasperdeb OK, the « red color bug » is dead. 😊 Next one now...
jasperdeb
@jasperdeb
Great!
Didier Korthoudt
@didierkorthoudt
@jasperdeb With your reduction, I’m able de reproduce the problem. If the setPosition is executed, the bottom table is not displayed at all (and part of the upper table is not « active »). Searching…
jasperdeb
@jasperdeb
@didierkorthoudt if you execute the setPosition, you can find the bottom split view if you slide the slider completly up
Didier Korthoudt
@didierkorthoudt
@jasperdeb I’ve found the origin of the split view problem… Must now find a solution. (FYI, in your specific case, when you call setPosition, subviews are not yet laid out, so the method fails to work correctly. It even sets the height of the second view to -155, which is bad 😉)
Didier Korthoudt
@didierkorthoudt

@jasperdeb Fixed. I’ve pushed a new build at https://github.com/cappuccino/cappuccino/wiki/CSS-Theming-&-Aristo-3-:-Work-in-progress#2019-09-05 so you can test it on your own application.

Please note the following things regarding « modern Cocoa » split views :

  • You should not use [splitView addSubview:aView]; but [splitView addArrangedSubview:aView]; instead ;
  • After adding all your views to the split view, you must call [splitView adjustSubviews]; before doing anything else with the split view ;
  • You should avoid using [splitView setIsPaneSplitter:YES]; which is deprecated, but use instead [splitView setDividerStyle:CPSplitViewDividerStylePaneSplitter];

Another thing in your reduction : I see that you use CPScrollView as split view subviews… I don’t understand why. You should use simple CPView instead as the tables have their own scroll views…

Please let me know if everything works fine now...

jasperdeb
@jasperdeb
Thank you! Some of the code is maybe not as it should but it is self taught and as it works this way, the code is copied from that moment on :-) I will put this build into the A3 version of the app I have made the tests on. As my wife uses this app for her business, I will ask her to use this version from now on and see or something else comes out. If not I will start to convert something bigger (with more widgets) in the comming weeks to stretch A3 further.
Would it be an idea to add something to the wiki where users (as me) can make a summary from the issues/code conversion needed (as with the splitview) while making the transition to A3?
Didier Korthoudt
@didierkorthoudt
@jasperdeb Thank you ! Yes, indeed, it could be useful for others to share your experience… 😊
jasperdeb
@jasperdeb
@didierkorthoudt or it will expose my amateur coding skills ;-)
daboe01
@daboe01
@jasperdeb your apps do not look amateurish in any aspect :-)
Didier Korthoudt
@didierkorthoudt
@jasperdeb +1 on @daboe01
jasperdeb
@jasperdeb
@daboe01 I mean the code behind ;-)
jasperdeb
@jasperdeb
@didierkorthoudt the setTextColor bug seems to be fixed at first glance
something yet to be done is the CPDateTimePicker?
image.png
jasperdeb
@jasperdeb
the setPosition bug seems to be gone too!
great work!
Didier Korthoudt
@didierkorthoudt
@jasperdeb Great for the 2 bugs. Date/Time picker is not touched yet. On the list… 😉
David Richardson
@enquora
@jasperdeb everyone’s code is embarrassing when looked at after the fact :-) One of the greatest problems I’ve found with Cocoa development is the absence of example code for non-trivial large-scale apps, particularly to inform strategies for modularity and high-level structure. I would love to see the code behind OmniGraffle, Create or Numbers. I know of no teaching resources better than the Big Nerd Ranch books and they don’t offer much if anything concerning structure for large-scale apps. There has lately been good discussion of the use of co-ordinators for managing complex view/controller hierarchies but it still is a matter of experience and perserverance that gets the job done.
Fwiw, Apple’s just-released Music web app uses Ember (a Sproutcore derivative) and OmniGroup’s OmniFocus for the web uses React. If anyone is a candidate for Cappuccino one would think it’s those two.
jasperdeb
@jasperdeb
@didierkorthoudt When I select an item in a CPPopUpButton, and a part of the list is "above" the screen, I see something I suppose is a bug
image.png
jasperdeb
@jasperdeb
Aristo2 goes quickly from "okay" to "outdated" when testing side to side ...
Didier Korthoudt
@didierkorthoudt
@jasperdeb Seems that up & down menu arrows are missing... I’ll fix this ASAP. Thank you.
daboe01
@daboe01
Aristo3 is addictive :-)
Didier Korthoudt
@didierkorthoudt
@daboe01 @jasperdeb OK, OK, I hurry up !.. 😄😉
Kjell Nilsson
@kerusan
😀❤️❤️❤️
jasperdeb
@jasperdeb
@didierkorthoudt it was meant as a compliment rather than a statement to push :-)