Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. App logs window scroll issues

App logs window scroll issues

Scheduled Pinned Locked Moved Solved Support
logsuserinterface
16 Posts 4 Posters 2.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robiR robi

      @rmdes nice, and I use ctrl-a+[ in screen to do the same, but that doesn't apply here talking about logs from the Cloudron GUI 😉

      rmdesR Offline
      rmdesR Offline
      rmdes
      wrote on last edited by
      #6

      @robi Whoops indeed, I was lost in between terminals :))

      1 Reply Last reply
      0
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #7

        This is still an issue.

        Would it help if the log lines were printed from right to left?

        How do we maintain the browser viewport on the relevant part of the log as new lines come in?

        Conscious tech

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #8

          In firefox, when I scroll up, the view does not automatically scroll for me when as new lines come in.

          robiR 1 Reply Last reply
          0
          • girishG girish

            In firefox, when I scroll up, the view does not automatically scroll for me when as new lines come in.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #9

            @girish Up is not the issue, to the right is.. scroll right on long log lines, then see the window snap back to the left.

            Conscious tech

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              Horizontal scroll seems fine too.

              Download video

              1 Reply Last reply
              0
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #11

                It's not an issue if scrolled up already, but at the bottom and to the right.

                Conscious tech

                girishG 1 Reply Last reply
                0
                • robiR robi

                  It's not an issue if scrolled up already, but at the bottom and to the right.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @robi Ah I see. If it's fully vertically scrolled, it auto scrolls. If you scroll up even a tiny bit, it will stop auto scrolling. I think this behavior is copied from gnome-terminal and the like. How does your terminal do it?

                  1 Reply Last reply
                  0
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #13

                    That's the subtle bit.. without resetting back to the left.

                    Often monitoring progress of something which is off screen to the right, scrolling over it should keep that window frame and allow for new lines without changing window view to the left.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #14

                      I think the behavior even comes from upstream xterm.js but @nebulon can confirm

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #15

                        The logviewer does not use xterm.js but just plain DOM elements. The root cause of this is, that we call scrollIntoView() for an anchor element at the bottom of the page, if the user has not vertically scrolled.
                        Since this element sits bottom left, the browser also scrolls left. I will see what can be done to keep horizontal scroll position.

                        1 Reply Last reply
                        2
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #16

                          This is fixed with https://git.cloudron.io/cloudron/box/-/commit/fe1c483b7819404d4531fd34323bc2fc18534b85 now

                          1 Reply Last reply
                          2
                          • nebulonN nebulon marked this topic as a question on
                          • nebulonN nebulon has marked this topic as solved on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search