View Single Post
Old 05-25-2017, 10:29 AM   #301
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,208
Karma: 29630722
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This particular change is large enough that basically no old server settings survive, including port numbers.

I probably could write some code to migrate the settings, but given that everything about the server is changed, I think it warrants some user attention.

I cannot replicate the GUI showing the wrong port, however. And looking at the code, the only way I can see a mismatch being possible is if the user changes the server preferences and doesnt restart the server or calibre.

Finally, about monitoring the IP address I dont see how that can be done. There is no cross platform way of listening for changes to network configuration reliably.

I suppose what can be done is to re-check the IPs evey time that menu is shown. However, because of some technical details with how menus and actions in Qt work, this may or may not be very reliable.
kovidgoyal is offline   Reply With Quote