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

HTML email view: strange blank space/offset until email content begins. #4052

Closed
Simon-Laux opened this issue Jul 28, 2024 · 5 comments · Fixed by #4061
Closed

HTML email view: strange blank space/offset until email content begins. #4052

Simon-Laux opened this issue Jul 28, 2024 · 5 comments · Fixed by #4061
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Simon-Laux
Copy link
Member

Simon-Laux commented Jul 28, 2024

DC version: 1.46.1

sandboxed view doesn't begin where header ends, instead there is some strange space.

Observed both on Linux (gnome flatpak) and MacOS with long deltachat text message.

The email content is displayed in a sandboxed browser view that is overlayed with an offset on the ui window.

I suspect the current account either has a pixel bug or does not account for display scaling.

@Simon-Laux Simon-Laux added bug Something isn't working good first issue Good for newcomers labels Jul 28, 2024
@WofWca
Copy link
Collaborator

WofWca commented Jul 30, 2024

I also saw this on Windows

@maxphilippov
Copy link
Collaborator

image
Just to make sure we're talking about the same thing. Is this the weird space? @Simon-Laux

@Simon-Laux
Copy link
Member Author

Just to make sure we're talking about the same thing. Is this the weird space?

yes, exactly that space

@WofWca
Copy link
Collaborator

WofWca commented Aug 3, 2024

On latest commit the issue seems to be worse when you set DPI < 1 on the main Delta Chat window, the header bar is not displayed at all there, and the top part of the contents of the email is hidden:

image

On Windows 1.46.1 with DPI = 0.8 it behaves weirder. The header bar will show up and hide while you keep resizing the window vertically.

@maxphilippov
Copy link
Collaborator

maxphilippov commented Aug 3, 2024

On latest commit the issue seems to be worse when you set DPI < 1 on the main Delta Chat window, the header bar is not displayed at all there, and the top part of the contents of the email is hidden:

On Windows 1.46.1 with DPI = 0.8 it behaves weirder. The header bar will show up and hide while you keep resizing the window vertically.

The content also didn't scale properly, neither on main nor here, I'm doing last checks and pushing a fix now.

The only thing I didn't do is I didn't manage to update zoom right after you change DeltaChat global Zoom, you have to reopen the dialog

maxphilippov added a commit that referenced this issue Aug 3, 2024
- also properly zoom the html content view
- resolves #4052
maxphilippov added a commit that referenced this issue Aug 3, 2024
- also properly zoom the html content view
- resolves #4052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants