[Users] [Bug 4711] New: Wrong main window maximisation state configuration saved when using trayicon

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Oct 24 22:17:34 UTC 2023


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4711

            Bug ID: 4711
           Summary: Wrong main window maximisation state configuration
                    saved when using trayicon
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins/Notification
          Assignee: users at lists.claws-mail.org
          Reporter: c0rn at o2.pl

Created attachment 2363
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2363&action=edit
fix maximisation state with trayicon

When using trayicon from notification plugin maximisation state of main
window is wrongly saved under certain circumstances.
Way to reproduce this behavior:

- start claws-mail with tryicon enabled, maximise main window
- click on tray icon or close window button (must have selected "close to tray"
  option for this to work) to minimise window to tray
- close claws-mail by right clicking on tray icon and choosing "Exit Claws
Mail"   or close desktop session while claws-mail is minimised
- on next run main window will be not maximised

Proposed patch prevents maximisation state update when hiding to tray by
ignoring windows state events with GDK_WINDOW_STATE_WITHDRAWN flag set. This
flag appears only when trayicon is used.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list