I am drawing a rectangle and a straight line across it (using pencil or pen). Then I select them and use Path->Divide and both shapes disappear while when I draw curved line instead of straight, rectangle divides as I expected. Why is that?
Here is a picture if I did not explain clearly:

Sorry, if it is a stupid question, but I am new to Inkscape and I could not find an answer in manual. Please be understanding.