Bug 692676 - Cannot change from DHCP to Static IP
Summary: Cannot change from DHCP to Static IP
Keywords:
Status: CLOSED DUPLICATE of bug 698199
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: rawhide
Hardware: i686
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 698379
TreeView+ depends on / blocked
 
Reported: 2011-03-31 20:10 UTC by Rick Leir
Modified: 2011-04-29 13:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 698379 (view as bug list)
Environment:
Last Closed: 2011-04-29 13:27:38 UTC
Type: ---


Attachments (Terms of Use)

Description Rick Leir 2011-03-31 20:10:35 UTC
Description of problem:
In the Network Settings dialog, IPv4 tab, when you try to change from DHCP to Manual for a static IP, the 'save' button is always greyed out. 

Version-Release number of selected component (if applicable):


How reproducible:
Always (I tried it twice)

Steps to Reproduce:
1.Open Network Settings, IPv4 tab
2.Change from DHCP to Manual
3.Try to enter a Static IP: the 'save' button stays greyed
  
Actual results:
the 'save' button stays greyed

Expected results:
the 'save' button should save the new settings

Additional info:
Workaround: I can use system-config-network to make the change without problem.  

(Is this bug actually a usability problem?)

Comment 1 Dan Williams 2011-04-05 13:51:51 UTC
What specific static IP are you entering?  You also need at least an IP and a prefix/netmask, are you entering both?

Comment 2 Rick Leir 2011-04-06 13:26:51 UTC
Hi Dan, It was likely 192.168.4.2 and I tried to enter a netmask of 255.255.255.0
When I have entered the IP I expect to be able to tab to the netmask field, but that does not work. When I click on the netmask field, the IP gets lost. Enter a netmask, then click on the Gateway field, and the netmask gets lost. Do you happen to know where the source code for this is? I can probably sort it out.

Comment 3 Dan Williams 2011-04-06 15:57:24 UTC
THis has been a problem for a while actually, but because of the way GtkTreeView works it's hard to intercept the keypresses to get the desired behavior.  THe code is:

http://git.gnome.org/browse/network-manager-applet/tree/src/connection-editor/page-ip4.c

and the functions cell_editing_started(), cell_editing_canceled(), and cell_edited() are supposed to help work around this all.

Comment 4 Jirka Klimes 2011-04-29 13:27:38 UTC

*** This bug has been marked as a duplicate of bug 698199 ***


Note You need to log in before you can comment on or make changes to this bug.