Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Is this behavior by design or a bug in Qt 4.6.2?
QtWS25 Last Chance

Is this behavior by design or a bug in Qt 4.6.2?

Scheduled Pinned Locked Moved The Lounge
2 Posts 2 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kleimola
    wrote on 4 Jun 2010, 19:34 last edited by
    #1

    Before filing a bug report I wonder if this actually is wanted behavior. I found out that when you remove a QGraphicsItem from a QGraphicsItemGroup with removeFromGroup() method, the item removed gets selected status and QGraphicsScene's clearSelection() won't remove that selection. This happens at least if the group was selected before the remove action. You have to explicitly call setSelected(false) on the item after removing it to prevent e.g. specific painting. Just feels odd that clearSelection() does not work here. I'm using Qt 4.6.2 on maemo5.

    >> Johannes <<

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mariusbu
      wrote on 16 Jun 2010, 10:20 last edited by
      #2

      That sounds (reads?) like a bug. You can file a report "here":http://bugreports.qt.nokia.com/.

      Cheers,
      Marius Bugge Monsen (mbm)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved