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

close #331 fix bug of sources disappearing from source list #620

Merged

Conversation

deeplow
Copy link
Contributor

@deeplow deeplow commented Nov 13, 2019

Description

Fixes #331 where the bottom source was disappearing from the source list when the window
was maximized.

It was achieved with the workaround of doing the styling in the border instead of in the background and making the border very large so that the default style is shrinked until it no longer exists. See #331 for discussion.

Test Plan

  1. log in
  2. maximise window
  3. check that bottom source is still there and color and styling is correct
  4. repeat 2, 3 several times as the original bug seemed to be a bit random

Checklist

If these changes modify code paths involving cryptography, the opening of files in VMs or network (via the RPC service) traffic, Qubes testing in the staging environment is required. For fine tuning of the graphical user interface, testing in any environment in Qubes is required. Please check as applicable:

  • I have tested these changes in the appropriate Qubes environment
  • I do not have an appropriate Qubes OS workstation set up (the reviewer will need to test these changes)
  • These changes should not need testing in Qubes

(I don't know if this is qubes-specific or not)

…list

workaround: do styling on border instead of in the background and
make border very large so that the default style is shrinked until
it no longer exists.

See freedomofpress#331
for discussion
Copy link
Contributor

@sssoleileraaa sssoleileraaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works, thanks for adding an issue comment!

@sssoleileraaa sssoleileraaa merged commit 626fb2f into freedomofpress:master Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

shrinking size of window can cause sources in the source list to disappear
2 participants