Inkscape.org
  1. #1
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    if I paste the following text as a single line:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

     

    everything's fine. But watch the next post...

  2. #2
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    Now I paste the exact same text but formatted as code:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

    As you can see now there is no line wrapping.

    And now even if the same line is pasted with normal formatting:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.

    The same issue happens.

  3. #3
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    Here's a screenshot just to be sure you see the same as I do:

  4. #4
    Martin Owens Martin Owens @doctormo🌹🧀

    This does seem to be a problem. If you figure out a solution yo can edit the css here:

    https://gitlab.com/inkscape/inkscape-web/tree/master/forums/static/forums/css

    Create a merge request and let me know and I can merge it into the website. (I'm the website administrator, programmer, but not designer)

  5. #5
    brynn brynn @brynn

    If Chameleon_Scales can't do it, should I make a bug report?  Or is there one already?

  6. #6
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    I'll make one.

  7. #7
    brynn brynn @brynn

    Thanks!

  8. #8
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    I don't find the issue tracker on the gitlab repo, where is it?

  9. #9
    brynn brynn @brynn

    https://gitlab.com/inkscape/inkscape-web/issues

  10. #10
    Chameleon Scales Chameleon Scales @Chameleon_Scales

    I get a 404 page not found

  11. #11
    brynn brynn @brynn
    *

    Hhmm,  I can open it ok.   That could mean that you aren't logged in.  I get 404 error when my login expires.  But when I log back in, it's fine. 

    Or it could be that you need to be recognized for that account.  I think we were having some trouble with spam, and maybe had to restrict it.  I'm sure Martin will reply before too long, and can get it sorted out.

  12. #12
    Tyler Durden Tyler Durden @TylerDurden

    I don't think text formatted as code should wrap... that defeats the purpose.

  13. #13
    brynn brynn @brynn
    *

    The problem is that if the line is longer than the width of the page, no one can read it after it goes off the page.

    For me, the problem is that the button labeled "wrap code" does not do what most people think it does.

    Hhmm....actually, that button doesn't do anything for me anymore....  I know it used to work, but not now.

     
  14. #14
    brynn brynn @brynn
    *

    Ooohhh you're not talking about the wrap code button at all.  You're talking about the Paragraph Format called "Formatted". 

    Nevermind, sorry for the noise.

    Another problem to report with that, is that it's not wysiwyg.  This editor is supposedly wysiwyg, which is why we can't have a Preview.  But that paragraph format is not wysiwyg.  The box does not show up until after you post the message.

    The problem is that is allows the text in that box to be wider than the page, and there's no way to read what's in it, after it goes off the page.  At least I can't find any way to read it.  I tried to copy it, but I can't highlight it.

  15. #15
    brynn brynn @brynn

    Anyway, it could be that the wrap code button was disabled because it was confusing.  I can't remember for sure.  But there definitely needs to be some way to post code in a forum message and have it formated.

    I think that paragraph format called "Formatted" means the type of font that's used.  I don't think it's meant for formatted code.

  16. #16
    Maren Hachmann Maren Hachmann @Moini

    TD: it could, however, have a scroll bar for the code div.

    ChameleonScales: while you're at it, could you also restrict the maximum image width? It seems it's possible to embed images that are then rendered wider than the post div.

  17. #17
    Tyler Durden Tyler Durden @TylerDurden

    There were earlier reports of some browsers not scrolling the Formatted area, maybe this is the actual problem.

    https://inkscape.org/forums/forum-news/is-there-a-way-to-get-out-of-wysiwyg-posting/#c3235

     

  18. #18
    Chameleon Scales Chameleon Scales @Chameleon_Scales

    @Moini I'm not sure I understood your demand.
    I can grab the handles of an image and resize it. Is that what you meant?

  19. #19
    brynn brynn @brynn

    For me, the image is ok.  It's the formated text that goes outside the window.

    @Chameleon_Scales   you don't happen to have any coding skills that could help us make the forum better, do you?  I just see you have advanced skills, compared to me.  We could use some help getting some things about this forum fixed.  So I thought I would ask  🙂

  20. #20
    Maren Hachmann Maren Hachmann @Moini

    @Chameleon_Scales Yes, a user can resize an image here. Unfortunately, they can also make it so big that it doesn't fit anymore. It mustn't be larger than the post area, else it's going to be cut off. CSS allows one to set a maximum size for things (in %).

  21. #21
    Chameleon Scales Chameleon Scales @Chameleon_Scales

    Ok.

    Well as you can see above, I can indeed make the image larger than the post.
    You're saying I can prevent that with CSS?
    Could you provide an example? I have no css knowledge.

  22. #22
    Maren Hachmann Maren Hachmann @Moini

    Ah, thought you had :) Not sure if you want to learn CSS just for this, then. It's okay if you just open the issue.

  23. #23
    Chameleon Scales Chameleon Scales @Chameleon_Scales

    Sure. The Gitlab page is not 404 anymore so I added this request :

    https://gitlab.com/inkscape/inkscape-web/issues/474

  24. #24
    Maren Hachmann Maren Hachmann @Moini

    Thanks!