Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:03

    dependabot[bot] on pip

    Bump docutils from 0.17.1 to 0.… (compare)

  • 11:02

    dependabot[bot] on pip

    Bump docutils from 0.17.1 to 0.… (compare)

  • 01:40

    danyeaw on master

    Fix doc dependency resolution (compare)

  • 01:19

    danyeaw on master

    Use Python 3.9 to build docs (compare)

  • Oct 27 13:43

    amolenaar on pip

    (compare)

  • Oct 27 13:43

    amolenaar on master

    Bump docutils from 0.16 to 0.18… Merge pull request #355 from ga… (compare)

  • Oct 27 13:42

    amolenaar on pip

    (compare)

  • Oct 27 13:42

    amolenaar on master

    Bump docutils from 0.16 to 0.18… Merge pull request #354 from ga… (compare)

  • Oct 27 13:42

    sourcery-ai[bot] on line-guides

    (compare)

  • Oct 27 13:42

    amolenaar on line-guides

    Fix code with Sourcery refactor… (compare)

  • Oct 27 13:40

    sourcery-ai[bot] on line-guides

    'Refactored by Sourcery' (compare)

  • Oct 27 13:39

    amolenaar on line-guides

    Clean up line guide code, added… Segment tool now prefers existi… (compare)

  • Oct 27 11:02

    dependabot[bot] on pip

    Bump docutils from 0.16 to 0.18… (compare)

  • Oct 27 11:02

    dependabot[bot] on pip

    Bump docutils from 0.16 to 0.18… (compare)

  • Oct 26 21:14

    sourcery-ai[bot] on line-guides

    'Refactored by Sourcery' (compare)

  • Oct 26 21:14

    amolenaar on line-guides

    Do not show certain guides when… Clean up line guide code, added… (compare)

  • Oct 26 20:01

    amolenaar on line-guides

    Bump version to 3.2.0 Simplify guide logic Handle line segment creation an… and 1 more (compare)

  • Oct 20 14:57

    amolenaar on master

    Move NEWS to NEWS.pre-3.0 Update GTK4 tests Update MyPy python rules to 3.9 and 2 more (compare)

  • Oct 20 12:58

    amolenaar on master

    Move MoveType to gaphas.aspect Change Guide tools into pure mi… Fix demo of segment tool and 2 more (compare)

  • Oct 19 21:25

    amolenaar on master

    Replace GuideMixin with plain f… Remove unused parameter Extract common logic for guides and 1 more (compare)

joshmikow
@joshmikow:matrix.org
[m]
Thanks. That makes sense. While at work, i'm testing the windows version and trying to work with CSS. So far, none of the CSS is reflected on the diagram. Otherwise, it's been pretty simple to use and start putting it a design that I've been working on. Is there a way to move the text associated with a line?
Arjan
@amolenaar:matrix.org
[m]
The CSS really ties in with the model. I can imagine it takes some time getting used to.
Text on lines can not be moved separately.
joshmikow
@joshmikow:matrix.org
[m]
I was not seeing the CSS apply to the model items within my diagram. Not sure if it matters that I'm trying to use the C4 Model items. Is there a sample Gaphor file that I could download that has examples of how a small project works?
joshmikow
@joshmikow:matrix.org
[m]
Looks like some of the CSS applied after closing Gaphor and then re-loading the .gaphor file into the app.
2 replies
joshmikow
@joshmikow:matrix.org
[m]
I've been playing with the CSS quite a bit tonight and I'm finally getting the hang of what the object names are to make the CSS apply properly. Helps to look at the XML behind the file to find what to try. Looks so much better once I get it to apply with the C4 objects.
joshmikow
@joshmikow:matrix.org
[m]
Sorry for all the questions on CSS. I have 2 Dependencies that I added to my diagram which only show 1/2 the line into a System. The 3rd Dependency shows up fine but was created after the system. Is there a way to "bring to front" or "send to back" for the line to show up without recreating it?
Arjan
@amolenaar:matrix.org
[m]
With a transparent background (for System) you won't run into this issue visually. We have no "bring to front/send to back" functionality in Gaphor at the moment. Actually I think the application should take care of this by itself.
If all lines are drawn after the box-like shapes, we should be fine, right? Would there be a reason to have "bring to front" functionality in the application danyeaw @sz332 ?
danyeaw
@Yeaw:matrix.org
[m]
Arjan: ya I agree that we shouldn't need a bring to front
Arjan
@amolenaar:matrix.org
[m]
joshmikow
@joshmikow:matrix.org
[m]
1 reply
I was thinking a future feature that would be helpful is to display the CSS selector for an item when viewing its properties. This would help to be able to identify the way to set its style within the CSS. Doesn't need to be fancy, just a display of the selector that would be needed to get down to the level of the item you're looking at if it is multiple layers deep. Also, would help given the different types of items that can be on the diagram so you can see what they're called without digging through the .gaphor file to figure out what they're called.
Arjan
@amolenaar:matrix.org
[m]
When the data is not saved in the model, the text from the text widget has not been synchronized with the data model (the Stylesheet element). This synchronization happens with a background function that fires after a second (give or take) after the last edit.
Maybe you can start Gaphor from a shell (cmd or powershell) and see if there's any errors being printed.
joshmikow
@joshmikow:matrix.org
[m]
ok, i let it sit for about 5 minutes and it hadn't updated. i'm on windows at the moment so i'm not sure how i would start it from a command shell exactly. i'm new to python apps and not much of a developer but willing to help if i can figure out how to. maybe i was making too many changes too quickly. when I tried again it got part of the CSS but didn't save all of it to the file.
joshmikow
@joshmikow:matrix.org
[m]
Let the software open for a couple hours with a saved file open. Never applied the CSS. Checked the .gaphor file and it showed the CSS I had manually added to it. Within app, clicked Save again and it overwrote what I added with the incomplete version even though the CSS box showed the complete CSS. Closed app, added CSS to the .gaphor file and saved within Notepad++. Opened app and loaded .gaphor file and the CSS applied as expected.
Arjan
@amolenaar:matrix.org
[m]
@joshmikow thanks a lot for testing this 🙏. I’ll do some more tests as well.
1 reply
danyeaw
@Yeaw:matrix.org
[m]
Arjan If you get the chance, I have some open PRs ready in all 3 repos ready for a review
Arjan
@amolenaar:matrix.org
[m]
danyeaw: I can have a look this weekend.
danyeaw
@Yeaw:matrix.org
[m]
Thanks!
Arjan
@amolenaar:matrix.org
[m]
danyeaw: Any idea what's happening with the macos and windows builds?
ERROR: pycairo-1.20.1-cp39-cp39-win_amd64.whl is not a supported wheel on this platform.
And the macOS build has some trouble with a json file (?)
danyeaw
@Yeaw:matrix.org
[m]
I can try to look at the errors this afternoon
Arjan
@amolenaar:matrix.org
[m]
All I can think of is a corrupted cache. I can not reproduce the macos errors locally, at least.
danyeaw
@Yeaw:matrix.org
[m]
Your poetry update and my updates to fix gvsbuild / PyGObject means the build is passing again
danyeaw
@Yeaw:matrix.org
[m]
Arjan anything else we need to do before releasing another patch version?
Arjan
@amolenaar:matrix.org
[m]
Maybe the code editor? It should package gtksourceview now, right.
I fixed an issue with missing property editors yesterday.
I started working on the “automatic” diagram item ordering. But that needs some work still.
danyeaw
@Yeaw:matrix.org
[m]
gvsbuild is working again, now I need to update gtksourceview. Hopefully it is that easy 😀
It is nice having nacho back from holiday, gvsbuild is accepting PRs again
We should be able to update the CI to py310 once the next PyInstaller version is released
Arjan
@amolenaar:matrix.org
[m]
A 3.10 update is more something for Gaphor 2.7 ;)
danyeaw
@Yeaw:matrix.org
[m]
Yup!
Arjan
@amolenaar:matrix.org
[m]
I fixed some issues with out Italian translation.
I created a PR for the "lines in front of boxes" issue.
danyeaw
@Yeaw:matrix.org
[m]
Nice!
Arjan
@amolenaar:matrix.org
[m]
... and a little fix so movement can be undone properly ;)
danyeaw
@Yeaw:matrix.org
[m]
I think the Code Editor CSS PR is finally ready, do you have time to try the dmg on macOS today? Also I'm now a gtkwin member now, so I can help with future gvsbuild chores 😀
PyInstaller also has gi tests running now as part of their CI, hopefully that will drastically reduce GTK issues
Arjan
@amolenaar:matrix.org
[m]
Nice!
I’ll check the macOS build
Arjan
@amolenaar:matrix.org
[m]
I expect your gtkwin membership will come in handy when we migrate to GTK 4 😁
danyeaw
@Yeaw:matrix.org
[m]
Oh ya, I’m sure there is going to be some work there.
danyeaw
@Yeaw:matrix.org
[m]
Congrats on version 2.6.5 🍻
Arjan
@amolenaar:matrix.org
[m]
The best Gaphor version ever released!
danyeaw
@Yeaw:matrix.org
[m]
Yay!
Zsolt Sandor
@sz332
Congrats!