Opened 7 years ago

Closed 3 years ago

Last modified 3 years ago

#4284 closed defect (fixed)

OMEdit: tree view icons change on loading a library

Reported by: janK Owned by: adeas31
Priority: normal Milestone: 1.17.0
Component: OMEdit Version: v1.11.0
Keywords: OMEdit, tree view icon, mouse hover Cc: adrpo

Description (last modified by janK)

Hi,

I used OMEdit a year ago and first of all: thanks for all the improvements!

I observed a strange bug, when opening libraries in OMEdit. First, (before loading) the tree view looks fine (1), when I open a model (eigther MSL or my own) the tree icons changes (2). Further, when I hover over the new '+' or '-' icons, the tiles become empty.

http://s431031001.online.de/Modelica-Mouse-cursor-bug.png

Actually, I really dislike these big '+' or '-' icons.
I ticked and unticked the option "Preserve user's GUI Customizations" without any difference.
(BTW: for what is this option?).
The library icon size is set to 24 (default, I guess).

Tested with v.1.11.0 on a Win7 64-bit machine.

Change History (10)

comment:1 Changed 7 years ago by janK

  • Description modified (diff)

comment:2 Changed 7 years ago by adeas31

  • Cc adrpo added

This is a Qt bug (​https://bugreports.qt.io/browse/QTBUG-52689). Also discussed here ticket:4156#comment:17
Push Adrian to upgrade Qt version.

comment:3 follow-up: Changed 7 years ago by janK

Well, I reinstalled QT completely. Now on my machine only Qt version 5.7 and 5.8 is available - and the bug is still present. Interestingly on a different machine running Win8, the bug is not present there.

What do you mean with "Push Adrian to upgrade Qt version."?

Last edited 7 years ago by janK (previous) (diff)

comment:4 Changed 7 years ago by adrpo

@janK: we use an older msys2 (we freeze it in SVN OMDev) that works to compile all our OpenModelica software. msys2 always pushes the latest packages such as gcc or Qt5 and sometimes the new packages (and they compile them with new gcc versions) have issues with OpenModelica. I need to find a day or two to test the latest msys2 if it works fine for us and if so update it in OMDev. When we upgrade to the latest msys2 we will also have the new Qt5 version which has these bug fixes.

comment:5 in reply to: ↑ 3 Changed 7 years ago by adeas31

Replying to janK:

Well, I reinstalled QT completely. Now on my machine only Qt version 5.7 and 5.8 is available - and the bug is still present. Interestingly on a different machine running Win8, the bug is not present there.

What do you mean with "Push Adrian to upgrade Qt version."?

Depends on which Qt you are using to build OMEdit.
The one that is part of OpenModelica development enviroment (OMDev) is Qt version 5.6.0.

comment:6 Changed 7 years ago by janK

Hi Adrian Pop,

I need to find a day or two to test the latest msys2 if it works fine for us and if so update it in OMDev.

Any news about that? I just found my old ticket (#4016) - so moving to QT 5.7 will kill more than two birds with one stone ;-)

Last edited 7 years ago by janK (previous) (diff)

comment:7 Changed 6 years ago by janK

Hi - Happy new year to everyone!

When do we move to Qt 5.7? The big/missing icons in the tree are so ugly and everybody using OMEdit for the first time will think that this software is not properly coded - which is definitely not true :)

comment:8 Changed 3 years ago by janK

  • Resolution set to fixed
  • Status changed from new to closed

In the current version (OpenModelica v1.18.0-dev-157-g2a75bf9121) the icons are properly displayed as a right arrow. Consequently, I closed the ticket.
Does anyone know exactly, when we moved to Qt 5.7 to fix that?

comment:9 Changed 3 years ago by adrpo

  • Milestone changed from Future to 1.17.0

OpenModelica 1.17.0, just released has fixed this.

comment:10 Changed 3 years ago by adrpo

We now have Qt 5.15 in OMDev.

Note: See TracTickets for help on using tickets.