#1049 Taskbar Icon and window focus after auto-lock

open
None
5
2012-09-17
2012-07-01
Anonymous
No

OS: Windows 7 64-bit
Program version: 3.29, 3.28, 3.27, 3.26 [earlier versions not used]
Description: On Windows 7 when using the program with both "Put icon in System Tray" and "Allow multiple instances" disabled, the program does not gain focus when the taskbar icon is clicked even though the the window is restored and the password field is highlighted. The taskbar icon also disappears at this point.

Steps to reproduce:

  1. Create a password database and ensure it is set to auto lock.
  2. Disable both "Put icon in system tray" and "Allow multiple instances" options.
  3. Leave program idle at the unlocked database screen until it auto locks and minimizes.
  4. Click taskbar icon to restore program. The bug now occurs.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-07-01

    very bad image i threw together to show what happens on my end

     
  • ShivaKandi

    ShivaKandi - 2012-07-20

    I am new to developing open source projects. Can I work on fixing this bug?

     
  • Rony Shapiro

    Rony Shapiro - 2012-07-20

    Hi Shivak7,

    The bug's all yours - let me know if you need help.

    Thanks!

    Rony

     
  • ShivaKandi

    ShivaKandi - 2012-08-16

    I am going through the code. It might be handy if you can help me out in narrowing down the part of the code where actions such as taskbar and window focus is handled.

     
  • Rony Shapiro

    Rony Shapiro - 2012-08-16

    This would be in the GUI Windows-specific code, which is in src/ui/Windows.
    SystemTray.cpp would be a good place to start there, specifically CSystemTray::OnTrayNotification()

    Rony

     
  • ShivaKandi

    ShivaKandi - 2012-08-17

    I have compiled the code, there happens to be some differences in system environments though - windows 7 32 bit was used as I was unable to compile win 7 64 bits. The software was working fine. Its pop-ups a window on top of every other window asking for a password.

     
  • Rony Shapiro

    Rony Shapiro - 2012-08-18

    Regarding the environments:
    The released version of PasswordSafe is the 32bit build, which runs fine under both 32 and 64 bit versions of Windows7 (and XP/Vista)..
    The 64bit build should compile, though, even if it's not supported.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks