Opened 8 years ago

Closed 4 years ago

Last modified 4 years ago

#4284 closed defect (fixed)

OMEdit: tree view icons change on loading a library

Reported by: Jan Kokert Owned by: Adeel Asghar
Priority: normal Milestone: 1.17.0
Component: OMEdit Version: v1.11.0
Keywords: OMEdit, tree view icon, mouse hover Cc: Adrian Pop

Description (last modified by Jan Kokert)

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 by Jan Kokert, 8 years ago

Description: modified (diff)

comment:2 by Adeel Asghar, 8 years ago

Cc: Adrian Pop 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 by Jan Kokert, 8 years ago

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 8 years ago by Jan Kokert (previous) (diff)

comment:4 by Adrian Pop, 8 years ago

@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.

in reply to:  3 comment:5 by Adeel Asghar, 8 years ago

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 by Jan Kokert, 8 years ago

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 8 years ago by Jan Kokert (previous) (diff)

comment:7 by Jan Kokert, 7 years ago

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 by Jan Kokert, 4 years ago

Resolution: fixed
Status: newclosed

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 by Adrian Pop, 4 years ago

Milestone: Future1.17.0

OpenModelica 1.17.0, just released has fixed this.

comment:10 by Adrian Pop, 4 years ago

We now have Qt 5.15 in OMDev.

Note: See TracTickets for help on using tickets.