Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Unexpected behavior in GUI while applying Source List address in IGMPv3 Report #292

Closed
biggena opened this issue Dec 5, 2019 · 1 comment
Labels

Comments

@biggena
Copy link

biggena commented Dec 5, 2019

It is not possible to apply Source List address in IGMPv3 Report. When editing default address 0.0.0.0 and changing it to some other address, like 10.10.10.10, and applying it via OK button - result will be 0.0.0.0.
Only adresses which contain 3 digits in each octet can be applied properly, like 100.100.101.102, etc.
Also using leading 0 before digits causes unexpected behaviour, like 010.011.012.013 transforms to address 8.9.10.11 after applying.
Ostinato v1.0

@biggena biggena changed the title Unexpected behaviour in GUI while applying Source List address in IGMPv3 Report Unexpected behavior in GUI while applying Source List address in IGMPv3 Report Dec 5, 2019
@pstavirs pstavirs added the bug label Dec 6, 2019
@pstavirs
Copy link
Owner

pstavirs commented Dec 26, 2019

This seems to be due to a behaviour change between Qt4 and Qt5.

Not exactly sure where the change is, but it seems to be a combination of inputMask on a QLineEdit and QItemDelegate. Conversion of 010.012.013.014 to 8.9.10.11 seems to be a bug in QHostAddress::toIpv4Address().

Till this is fixed, please use the following workaround - use a leading space when typing octets less than 3 digits e.g. instead of 1.2.3.4 or 001.002.003.004, use 1. 2. 3. 4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants