Skip to content

Convert from unicode to image based paperclip#1516

Merged
phoerious merged 3 commits intorelease/2.3.0from
hotfix/paperclip-image
Feb 25, 2018
Merged

Convert from unicode to image based paperclip#1516
phoerious merged 3 commits intorelease/2.3.0from
hotfix/paperclip-image

Conversation

@droidmonkey
Copy link
Copy Markdown
Member

@droidmonkey droidmonkey commented Feb 23, 2018

Description

Use an image instead of unicode string to display the attachment paperclip. This provides consistency in display and overcomes font deficiencies.

I made the paperclip column fixed width and corrected some sizing issues in the EntryView table.

Motivation and context

Reports received from beta testers.

Screenshots (if appropriate):

paperclip

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]
  • ✅ My change requires a change to the documentation and I have updated it accordingly.
  • ✅ I have added tests to cover my changes.

@phoerious
Copy link
Copy Markdown
Member

Looks OK to me, but TC is having complaints.

@droidmonkey
Copy link
Copy Markdown
Member Author

I had to move the icon loading into code that contains a GUI. When we run our non-gui tests we explicitly don't load a QApplication which is what QIcon relies on to do loading of images. Strange that there is no assert, it just crashes.

@phoerious
Copy link
Copy Markdown
Member

The tests are still crashing.

@droidmonkey droidmonkey force-pushed the hotfix/paperclip-image branch from ad4e312 to 9ebe1f4 Compare February 25, 2018 17:38
@droidmonkey
Copy link
Copy Markdown
Member Author

Tests passing, but the docker image is jacked up on teamcity.

@phoerious
Copy link
Copy Markdown
Member

phoerious commented Feb 25, 2018

You need to force a rebuild. It's still trying to fetch the old libsodium18 package instead of libsodium23.

@droidmonkey droidmonkey force-pushed the hotfix/paperclip-image branch from 9ebe1f4 to 51c38a1 Compare February 25, 2018 18:20
@droidmonkey droidmonkey force-pushed the hotfix/paperclip-image branch from 51c38a1 to fd79184 Compare February 25, 2018 18:29
@phoerious phoerious merged commit 686adbe into release/2.3.0 Feb 25, 2018
@phoerious phoerious deleted the hotfix/paperclip-image branch February 25, 2018 18:38
@phoerious phoerious added pr: bugfix Pull request fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: bugfix Pull request fixes a bug user interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants