On Wed, Dec 08, 2010 at 10:14:46AM -0600, Christian Thiemann wrote:
> Clicking on original image:
> 
> GuiGraphics.cpp(554): paramsToDialog: name = Desktop/WAN_map.pdf
> GuiGraphics.cpp(555): paramsToDialog: igp.filename.absFilename() = 
> /Users/ct/Desktop/WAN_map.pdf
> GuiGraphics.cpp(556): paramsToDialog: fromqstr(bufferFilepath()) = /Users/ct/
> GuiGraphics.cpp(557): paramsToDialog: buffer().filePath() = /Users/ct/
> 
> Clicking on pasted image:
> 
> GuiGraphics.cpp(554): paramsToDialog: name = /Users/ct/Desktop/WAN_map.pdf
> GuiGraphics.cpp(555): paramsToDialog: igp.filename.absFilename() = 
> /Users/ct/Desktop/WAN_map.pdf
> GuiGraphics.cpp(556): paramsToDialog: fromqstr(bufferFilepath()) = /Users/ct/
> GuiGraphics.cpp(557): paramsToDialog: buffer().filePath() = /Users/ct/

Giving that name is set (in GuiGraphics.cpp) as

    string const name =
        igp.filename.outputFilename(fromqstr(bufferFilepath()));

I think that the problem arises in DocFileName::outputFilename()

string DocFileName::outputFilename(string const & path) const
{
        return save_abs_path_ ? absFilename() : relFilename(path);
}

So, either save_abs_path_ is true here or something wrong occurs
in DocFileName::relFilename().

-- 
Enrico

Reply via email to