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

No ApplicationPaletteChange event in QApplication

    XMLWordPrintable

Details

    • Linux/X11

    Description

      I wrote a small project - system_changes (see Attachment: system_changes.pro, myapplication.h and main.cpp).

      I override bool event(QEvent *) method in MyApplication class and log information about all event's types.

      bool event(QEvent *event) override {
              qWarning() << event->type();

              return QApplication::event(event);
       }

      In the Qt 5.5.1 there are messages

      QEvent::Type(ApplicationPaletteChange)

      QEvent::Type(ApplicationPaletteChange)

      in the log after system style is being change to High Contrast and back.

      But int the Qt 5.9.2 there are no such messages in log.

      Why so?

       

      Attachments

        1. main.cpp
          0.2 kB
        2. myapplication.h
          0.4 kB
        3. system_changes.pro
          0.1 kB

        Issue Links

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

          Activity

            People

              frederik Frederik Gladhorn
              _olya Olya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes