#1606 Disable 'show notifications" NOT recognized

1.1
pending
nobody
works-for-me
5
2014-01-19
2014-01-19
Thomas
No

I did the following:

  1. I disabled the option "Show notifications" (=checkbox is empty)
  2. I installed Greenshot v1.1.7 on the current 64bit Win7 Desktop computer
  3. Copied the Greenshot installation folder to an USB stick
  4. Put the USB into my Notebook (and its 64bit Win7)
  5. Started Greenshot

When I now perform a "capture region" operation a notification is send.
I know it because my (auto-)hidden TaskBar is always show in such a case (with some seconds delay).

This is clearly a bug.

Greenshot should recognize the current value of "Show notifications" option.

Even If enable and re-disable the option greenshot does not work corrently.
please fix it.

Thomas

Discussion

  • Robin Krom
    Robin Krom
    2014-01-19

    Hello Thomas,

    Copying the installation folder does NOT copy the settings, so how should Greenshot know you disabled something on a different PC?

    Do you always copy installation folders of applications to USB sticks and expect the settings to come along? That is cleary a wrong way of making an application portable, sorry but this is not a bug everything works as designed.

    Please use our .zip (or our .paf.exe if you use PortableApps.com) for portable versions of Greenshot! Greenshot expects certain files in a location and the way you copied it doesn't work correctly for portable usage! Extract the .zip to your USB drive and than you can copy the greenshot.ini from your desktop PC to it. See here for where it is: http://getgreenshot.org/faq/where-does-greenshot-store-its-configuration-settings/

    Best wishes,
    Robin

     
  • Robin Krom
    Robin Krom
    2014-01-19

    • status: open --> pending
    • Resolution: none --> works-for-me
     
  • Thomas
    Thomas
    2014-01-19

    Hello Robin,

    thank you for the reply. However according to your explanation Greenshot is working not in a smart way.

    Assume Greenshot misses (at startup) its Greenshot.ini file in the expected folder then it should (as many other software packages do) automatically create such a config file
    with default parameter values.
    Then all option settings inside GS preferences dialog should exactly represent the corresponding values in the ini file.

    Otherwise (worse but acceptable too) it should popup a warning like "missing ini file. Please re-install GS".

    This should happen at least when user try to change settings!

    But arbitrarily using some random setting values (like it seems to do currently) is bad.

    Do you agree?

    Thomas

     
  • Thomas
    Thomas
    2014-01-19

    Hello Robin,

    just an additional remark to the previous:
    Even when I start GS on the original Desktop computer and
    disable the show notifications checkbox the value in the *.ini file remains

    ShowTrayNotification=True

    So its a bug!

     
  • Robin Krom
    Robin Krom
    2014-01-19

    If Greenshot starts, and can't find it's ini it is created with all the default values.

    And about the settings, don't worry they are written! You either need to reread the file in your editor, Greenshot might not have updated it (maybe your editor had it locked) or you are looking in the wrong location. Did you press OK in the settings screen?

    To make sure you are looking in the right location, open our about and press the 'i' key to open the settings. You can do this before and after you changed the value.

    If this wouldn't work, we would have had thousands of tickets by now ;-)