client icon indicating copy to clipboard operation
client copied to clipboard

QFSFileEngine::open: No file name specified

Open IDragonfire opened this issue 10 years ago • 7 comments

I have this in the log

2014-11-03 19:59:15,967 INFO     client._clientwindow                     sending packet to lobby.faforever.com
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified

IDragonfire avatar Nov 03 '14 19:11 IDragonfire

Could you mention which commithash you're getting this on?

I've been seeing it myself, but I'd like to track down where it was introduced.

Sheeo avatar Nov 05 '14 14:11 Sheeo

If I remembered correctly, I got it also a year ago, where I started with faf.lobby coding ... I think it is a general usage problem with QURL (from Zep?) and nothing from our "new/reborn" commits.

IDragonfire avatar Nov 05 '14 15:11 IDragonfire

also occure in 5ac75b663f5d7b2caf47c2c54c5f8c41f9b2f6ce also in 2454a3d0c6a1eafe5ba0257c2a600e7d3910efb3

IDragonfire avatar Nov 15 '14 22:11 IDragonfire

I was investigating a bit, tried wrapping QUrl with a decorator that would warn when it's instatiated with a wrong url.

It happens a lot around the codebase that it's instantiated without url, and then the "setHost" etc. methods are called later.

Sheeo avatar Nov 21 '14 15:11 Sheeo

`QStandardItemModel *pModel = new QStandardItemModel(); QStandardItem *pItem = new QStandardItem;

//QList <MuItemData >dataList;
for(int i = 0; i < userList.count(); ++i){
    QStandardItem *pItem = new QStandardItem;
    MuItemData itemData;
    itemData.username = userList[i];
    itemData.descript = des;
    itemData.iconPath = ico;
    pItem->setData(QVariant::fromValue(itemData), Qt::UserRole+2);
    pModel->appendRow(pItem);
}
MuItemDelegate *pItemDelegate = new MuItemDelegate(this);       //MuItemDelegate
ui->listView_UsreLeftList->setItemDelegate(pItemDelegate);
ui->listView_UsreLeftList->setModel(pModel);`

askunix avatar Sep 12 '19 08:09 askunix

@askunix what?

Sheeo avatar Sep 19 '19 15:09 Sheeo

9ce2edc does not close this, it still happens every time someone with avatar writes a message in chat. Because of this: https://github.com/FAForever/client/blob/2d2e935aac611f6f0c41ba330ca2d6e3b37ee96f/src/chat/channel_widget.py#L100-L105

Gatsik avatar Aug 16 '21 17:08 Gatsik