lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Tagbar State Bugs #24

Closed IonoclastBrigham closed 8 years ago

IonoclastBrigham commented 8 years ago

I'm seeing inconsistencies with tagbar state.There's actually two ways it manifests, but it's not clear yet if they're related or independent.

Repro steps to get into an inconsistent state:

  1. new pic, no tags
  2. type => gold
  3. tab to another app
  4. tab back, still yellow
  5. delete chars, hit esc to defocus

Expected result: if I'm escaping-out of the tag bar and it's not different from the canonical dictionary, it should be white.

Actual result: still gold, title still prefixed (*)

The other issue, briefly, is that zooming always resets tag bar color to white, regardless of the actual state.

lehitoskin commented 8 years ago

For the last part, load-image is being called and is setting the background to white no matter what we're actually doing.