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

[Bug Report] Incorrectly truncated titles and incorrect page count #26

Closed
WROIATE opened this issue Apr 4, 2020 · 9 comments
Closed
Labels
bug Something isn't working

Comments

@WROIATE
Copy link
Contributor

WROIATE commented Apr 4, 2020

Describe the bug

  1. The title display on chrome will be failed with "..."
  2. The page number display "2" when the comic only have one page

To Reproduce
Steps to reproduce the behavior:

  1. Go to chrome with mango v0.2.5
  2. See error

Environment (please complete the following information):

  • OS:Unraid 6.8.1
  • Browser: chrome
  • Mango Version: v0.2.5

Docker (if you are running Mango in a Docker container)

FROM crystallang/crystal:0.32.1-alpine AS builder

WORKDIR /Mango

RUN wget https://github.com/hkalexling/Mango/archive/v0.2.5.zip \
    && unzip v0.2.5.zip

WORKDIR /Mango/Mango-0.2.5

RUN apk add --no-cache yarn yaml sqlite-static \
    && make static

FROM library/alpine

WORKDIR /

COPY --from=builder /Mango/Mango-0.2.5/mango .

CMD ["./mango"]

Additional context
Snipaste_2020-04-04_23-49-10

@WROIATE WROIATE added the bug Something isn't working label Apr 4, 2020
@hkalexling hkalexling changed the title [Bug Report] [Bug Report] Incorrectly truncated titles and incorrect page count Apr 4, 2020
@hkalexling
Copy link
Member

hkalexling commented Apr 4, 2020

The title display on chrome will be failed with "..."

Please clear the browser cache and then reload the page.

The page number display "2" when the comic only have one page

I cannot reproduce this:

Screen Shot 2020-04-05 at 6 39 18 AM

alex_ling@do-sg:~/mango/library/test$ unzip test.zip
Archive:  test.zip
   creating: test/
  inflating: test/1.jpg
alex_ling@do-sg:~/mango/library/test$ tree test
test
└── 1.jpg

0 directories, 1 file

Could you show me the content of your zip file or send it to me?

BTW it looks like you are using a custom userscript to get the dark interface. You might want to try out the built-in dark mode in Mango. It looks much better.

@WROIATE
Copy link
Contributor Author

WROIATE commented Apr 5, 2020

@hkalexling
I found the problem of page number is that my mac generated a hide file...

Archive:  test.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
   227097  03-30-2020 18:28   1_hmsbudcj.jpg
        0  03-30-2020 18:28   __MACOSX/
      186  03-30-2020 18:28   __MACOSX/._1_hmsbudcj.jpg
---------                     -------
   227283                     3 files

But the title is also cannot display the correct title even I clear the chrome cache

@WROIATE
Copy link
Contributor Author

WROIATE commented Apr 5, 2020

It's working on firefox but not chrome
Snipaste_2020-04-05_16-01-39
Snipaste_2020-04-05_16-01-28

@hkalexling
Copy link
Member

May I know the Chrome version you are using? And can you try it again in incognito mode without enabling any extensions? I tried it in multiple versions of Chrome on all my devices but still can't reproduce the bug.

@WROIATE
Copy link
Contributor Author

WROIATE commented Apr 5, 2020

May I know the Chrome version you are using? And can you try it again in incognito mode without enabling any extensions? I tried it in multiple versions of Chrome on all my devices but still can't reproduce the bug.

The chrome for mac version is 80.0.3987.149
I have tried the incognito mode. Unfortunately, the same problem happened
Snipaste_2020-04-05_16-09-35

@hkalexling
Copy link
Member

Still, I can't reproduce it :(

Hi @ermus19, you mentioned in Gitter that you had the same problem. Have you found the cause? Did it happen again? Thanks!

@hkalexling
Copy link
Member

hkalexling commented Apr 5, 2020

@WROIATE Is there a way for me to contact you privately? To isolate the problem, I can send you the login information to my test server so you can test to see if the problem persists.

You may also consider joining the Gitter and ping me there, and I will DM you.

@ruben-rodriguez
Copy link

Hello!

So, as I told @hkalexling on gitter, I also faced this issue after upgrading to v0.2.5
Could not get rid of it even after deleting browsing data, going incognito etc. However, it was still working fine on Firefox.

What I did: delete all browsing data (cookies, site data) on Chrome and reboot the computer.
After doing so, titles were no longer truncated. Also, I realised it was due to browser because I asked another of my network user's to load the page using Chrome and issue was not present there (also tested using Android Chrome).

Hope it helps!

@WROIATE
Copy link
Contributor Author

WROIATE commented Apr 6, 2020

Hello!

So, as I told @hkalexling on gitter, I also faced this issue after upgrading to v0.2.5
Could not get rid of it even after deleting browsing data, going incognito etc. However, it was still working fine on Firefox.

What I did: delete all browsing data (cookies, site data) on Chrome and reboot the computer.
After doing so, titles were no longer truncated. Also, I realised it was due to browser because I asked another of my network user's to load the page using Chrome and issue was not present there (also tested using Android Chrome).

Hope it helps!

Nice! It's useful I clear the cookie and data with all time range!

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

3 participants