Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line numbers is not correct when a line is too long #530

Open
2 tasks done
eslym opened this issue May 22, 2024 · 3 comments
Open
2 tasks done

line numbers is not correct when a line is too long #530

eslym opened this issue May 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@eslym
Copy link

eslym commented May 22, 2024

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

line numbers is not correct when a line is too long

👟 Reproduction steps

version: "3.8"
services:
  nginx:
    image: nginx:latest
    restart: unless-stopped
    ports:
      - 8080:80
  environment:
    LONG_VALUE: this is a very long long long long long long long long long long long long long long long long long long long long long long long long long value.
networks: {}

👀 Expected behavior

line number should not be shown when a line is wrap

😓 Actual Behavior

image

Dockge Version

1.4.2

💻 Operating System and Arch

Bebian bookworm (Raspbian OS) arm64

🌐 Browser

Google Chrome 125.0.6422.60

🐋 Docker Version

Docker version 26.1.1, build 4cf5afa

🟩 NodeJS Version

v18.17.1

📝 Relevant log output

No response

@eslym eslym added the bug Something isn't working label May 22, 2024
@Dragi2k
Copy link

Dragi2k commented Aug 9, 2024

got the same bug this is hwo it shoult look

version: '3.3'

services:
  hyperionng:
    image: debian:bullseye
    container_name: hyperionng
    command: bash -c "groupadd -f hyperion || true &&
                    adduser -q --uid ${UID:-1000} --gid ${GID:-1000} --disabled-password --no-create-home hyperion || true &&
                    mkdir -p /config &&
                    chown ${UID:-1000}:${GID:-1000} /config &&
                    apt-get update &&
                    apt-get install -y wget gpg sudo &&
                    wget -qO /tmp/hyperion.pub.key https://apt.hyperion-project.org/hyperion.pub.key &&
                    gpg --dearmor -o - /tmp/hyperion.pub.key > /usr/share/keyrings/hyperion.pub.gpg &&
                    echo \"deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ bullseye main\" > /etc/apt/sources.list.d/hyperion.list &&
                    apt-get update &&
                    apt-get install -y hyperion &&
                    apt-get clean &&
                    sudo -u hyperion /usr/bin/hyperiond -v --service -u /config"
    ports:
      - "19400:19400"
      - "19444:19444"
      - "19445:19445"
      - "8090:8090"
      - "8092:8092"
    volumes:
      - hyperionng-config:/config
    restart: unless-stopped
volumes:
  hyperionng-config:

and this is what dockge has made of it

version: "3.3"
services:
  hyperionng:
    image: debian:bullseye
    container_name: hyperionng
    command: bash -c "groupadd -f hyperion || true && adduser -q --uid ${UID:-1000}
      --gid ${GID:-1000} --disabled-password --no-create-home hyperion || true
      && mkdir -p /config && chown ${UID:-1000}:${GID:-1000} /config && apt-get
      update && apt-get install -y wget gpg sudo && wget -qO
      /tmp/hyperion.pub.key https://apt.hyperion-project.org/hyperion.pub.key &&
      gpg --dearmor -o - /tmp/hyperion.pub.key >
      /usr/share/keyrings/hyperion.pub.gpg && echo \"deb
      [signed-by=/usr/share/keyrings/hyperion.pub.gpg]
      https://apt.hyperion-project.org/ bullseye main\" >
      /etc/apt/sources.list.d/hyperion.list && apt-get update && apt-get install
      -y hyperion && apt-get clean && sudo -u hyperion /usr/bin/hyperiond -v
      --service -u /config"
    ports:
      - 19400:19400
      - 19444:19444
      - 19445:19445
      - 8090:8090
      - 8092:8092
    volumes:
      - hyperionng-config:/config
    restart: unless-stopped
volumes:
  hyperionng-config: null

and so it is unusable

@andrebrait
Copy link

andrebrait commented Aug 25, 2024

Not only that, but the cursor after the long line is all wrong. It's like it knows what text should be there, but it displays it otherwise.

Cursor position is also wrong, as if the font was smaller or something.

On my phone's screen in portrait mode, at the last line:

Screenshot_20240825_112536_Chrome

Now in landscape mode, same cursor position:

Screenshot_20240825_112547_Chrome

@nan0tEch
Copy link

just wanted to report this one to, near the end of my compose file it get wierd to edit. The spacing doesn't lineup with the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants