Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1797

Mac OSX please don't scale width for application status icons

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • Some future release
    • 4.4.0
    • GUI: Look'n'Feel
    • None
    • macOS

    Description

      On the mac Qt forces status icons to be a fixed, square size.

      While it makes sense to scale the image to fit in the available height
      of the menu bar, no such constraints seem to exist for the width.
      It is fairly common on the Mac to use glyphs wider than 18
      pixels in status items (such as Apple does with the Battery and WiFi
      status items).

      This behavior is set in the method
      QSystemTrayIconPrivate::updateIcon_sys(), where both height and width are set to a single value.

      It would be nice if status icons could keep their height and width aspect ratio when used on the mac..

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes