This is another completely different function indeed.
But the fact that you have multiple possible interpretation only comes from the fact that your notation df(x,y)/dg(x,y) is not a valid mathematical notation. You need to interpret it. And whichever way you interpret it, you will get a different function and so potentially different derivatives.