Ticket #1423 (closed defect: invalid)

Opened 11 months ago

Last modified 4 months ago

Button Listener vanishes after one event, if requestRepaint is not called

Reported by: Jouni Koivuviita Owned by: Marc Englund
Priority: major Milestone: User Interface Library 5.1.1
Component: undefined Version: 5.0.0-pre
Keywords: Cc: jouni@…
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description (last modified by Joonas Lehtinen) (diff)

See SspPermissionsConfig.java

Quote from -removed-:

"Löytyi taas omituisuus. Jälleen SspPermissionConfig?-luokastamme voit katsoa tarkemmin, mistä on kyse, mutta jotenkin näin: Napin listener lakkaa olemasta kun nappia on painettu. Tähän auttaa kun pyytää isäntäkomponentilta requireRepainttia, mutta ei varmaankaan pitäisi joutua näin tekemään...?

Alla vielä cut'n'pastea, tuossa tuo ensimmäisestä iffistä returnaaminen hajoittaa koko napin. Eli listeneriin ei enään tulla, ellei requestRepaintteja ole kutsuttu (en tiedä ovatko molemmat tuossa esimerkissä olevat välttämättömiä, mutta noin toimii)."

- src removed -

Change History

Changed 11 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.1.0 to User Interface Library 5.1.1

Changed 10 months ago by Marc Englund

  • status changed from new to closed
  • resolution set to invalid

This was apparently a bug int the app itself; some component was probably attached multiple times. This is no longer possible (Toolkit now throws), so the problem has (apparently) been fixed in the app itself.

Changed 4 months ago by Joonas Lehtinen

  • description modified (diff)
Note: See TracTickets for help on using tickets.