Skip to content

Minimize to system tray not working when run as Administrator #8528

@omgfrost

Description

@omgfrost

Description of the Issue

Latest update 7.88 and 64bit version.
When right click properties, compatibility, check run as administrator, and confirm with ok, when i launch notepad++ it does run in administrator mode but even if in settings\misc minimize to system tray doesn't work. It just minimized in taskbar.
If i remove compatibility run as administrator so in normal user mode, notepad++ does go in system tray when minimized.

Steps to Reproduce the Issue

  1. Navigate to %systemdrive%\program files\notepad++
  2. right click, properties on notepad++.exe, tab compatibility, check "Run as Administrator"
  3. Double click on notepad++, and it now runs in Administrator mode
  4. Go Settings,Preferences,MISC then check Minimize in system tray
  5. Click the minimize "button" top right of the window, it just minimizes in taskbar, not in system tray.

Expected Behavior

Minimizes in system tray while in Administrator mode

Actual Behavior

Not minimizing in system tray while in Administrator mode

Debug Information

Notepad++ v7.8.8 (64-bit)
Build time : Jun 23 2020 - 23:59:56
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2004
OS Build : 19041.329
Current ANSI codepage : 1252
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions