What I expected to happen was...:
Opened and unopened books are stackable
What actually happened was...:
Opened written books cannot be stacked with unopened books.
Steps to Reproduce:
1. Write something in a book and quill and sign it
2. Use the middle mouse button to get an identical copy of the book
3. Note the books are stackable
4. Hold one single book in your hand and open it
5. Try to stack the opened book with the other unopened copy you created in step 2
6. Note that the books can no longer be stacked
This is caused by the same problem as described in MC-224343
This is very arguably working as expected and/or intentional. NBT data called 'resolved' is added to the book when it's opened, which is a trigger used in combination with advancements:
[media]The missmatch in data is what causes the inability to stack. If you want the two to stack, you can open the other stack of books (as long as they are otherwise the same).
Here is an exerpt from the wiki, which while not official, explains the functionality better than I can: