Imageglass: Fails to start when ThumbnailBarWidth is close or greater than WindowsBound

Created on 3 Jan 2019  路  2Comments  路  Source: d2phap/ImageGlass

System information:

  • Windows OS version: Win10 1809
  • ImageGlass version: 6.0.12.29

To Reproduce

To get a clean config file:

  1. Delete _igconfig.xml_ for a clean startup.
  2. Start ImageGlass.
  3. Perform the 4 steps of the first launch configuration.
  4. Close ImageGlass.

Now to reproduce:

  1. Edit _igconfig.xml_ and change:
```
<Item key="IsShowThumbnail" value="True" />
<Item key="IsThumbnailHorizontal" value="False" />
<Item key="ThumbnailBarWidth" value="990" />
```

The idea is to set `ThumbnailBarWidth` to a value close or greater than the window width defined in `frmMain.WindowsBound`. In my case, it was set to 1000 by default:

```
<Item key="frmMain.WindowsBound" value="280,125,1000,800" />
```

  1. Start ImageGlass.

Actual behavior:

ImageGlass fails to start. No error is displayed.

Expected behavior:

ThumbnailBarWidth should be reset to an appropriate value and ImageGlass should start.

Screenshots:

Gif

Additional context:

It happened to me in the first place without tampering the config file. I'm not sure how though...

馃悶 bug 馃憣 ready

Most helpful comment

Fix available in latest ImageGlass Moon. (https://imageglass.org/moon)

All 2 comments

Yup, I've struggled with this in the past. I thought I fixed 'em all but apparently missed something.

Fix available in latest ImageGlass Moon. (https://imageglass.org/moon)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fire-eggs picture fire-eggs  路  4Comments

OLEGSHA picture OLEGSHA  路  5Comments

Unknow0059 picture Unknow0059  路  4Comments

jtagcat picture jtagcat  路  5Comments

DraHD picture DraHD  路  5Comments